diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-02 11:07:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-02 11:07:30 -0500 |
| commit | 571bc9bf2efa841b29bf036f4d307664bfbe155d (patch) | |
| tree | 41fb3a459db99d1f0ec2ed2e00d4ca580a5d0c46 /internal/bolttest/null_outputer.go | |
| parent | Update readme (diff) | |
| parent | Remove Latest() from migration fs repo in favor of using List on service (diff) | |
| download | cli-571bc9bf2efa841b29bf036f4d307664bfbe155d.zip | |
Merge pull request #1 from eugenetriguba/0.3.0
Diffstat (limited to 'internal/bolttest/null_outputer.go')
| -rw-r--r-- | internal/bolttest/null_outputer.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/internal/bolttest/null_outputer.go b/internal/bolttest/null_outputer.go new file mode 100644 index 0000000..f70b002 --- /dev/null +++ b/internal/bolttest/null_outputer.go @@ -0,0 +1,19 @@ +package bolttest + +type NullOutputter struct { + OutputLogs []string + ErrorLogs []string + TableLogs []string +} + +func (o NullOutputter) Output(message string) error { + return nil +} + +func (o NullOutputter) Error(err error) error { + return nil +} + +func (o NullOutputter) Table(header []string, rows [][]string) error { + return nil +} |