Skip to content

Commit

Permalink
Remove raw output support.
Browse files Browse the repository at this point in the history
  • Loading branch information
flimzy committed Oct 24, 2018
1 parent 262c702 commit 5722460
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 90 deletions.
5 changes: 0 additions & 5 deletions io/io_test.go
Expand Up @@ -47,11 +47,6 @@ func TestSelectOutputProcessor(t *testing.T) {
// args: []string{"--json-indent", "xx"},
// expected: &errWrapper{&jsonProcessor{indent: "xx"}},
// },
{
name: "raw output",
args: []string{"-F", "raw"},
expected: &bytes.Buffer{},
},
// {
// name: "YAML output",
// args: []string{"-F", "yaml"},
Expand Down
2 changes: 0 additions & 2 deletions io/modes.go
Expand Up @@ -2,7 +2,6 @@ package io

import (
"github.com/go-kivik/kouch/io/outputjson"
"github.com/go-kivik/kouch/io/outputraw"
"github.com/go-kivik/kouch/io/outputtmpl"
"github.com/go-kivik/kouch/io/outputyaml"
"github.com/go-kivik/kouch/kouchio"
Expand All @@ -13,6 +12,5 @@ const defaultOutputMode = "json"
var outputModes = map[string]kouchio.OutputMode{
defaultOutputMode: &outputjson.JSONMode{},
"yaml": &outputyaml.YAMLMode{},
"raw": &outputraw.RawMode{},
"template": &outputtmpl.TmplMode{},
}
22 changes: 0 additions & 22 deletions io/outputraw/raw.go

This file was deleted.

61 changes: 0 additions & 61 deletions io/outputraw/raw_test.go

This file was deleted.

0 comments on commit 5722460

Please sign in to comment.