We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a7b844 commit c9dc408Copy full SHA for c9dc408
output/output.go
@@ -30,16 +30,16 @@ type Output interface {
30
EmitJSON() string
31
}
32
33
-type OutputKind int
+type Kind int
34
35
const (
36
- Terminal OutputKind = iota
+ Terminal Kind = iota
37
JSON
38
)
39
40
var defaultOutputKind = Terminal
41
42
-func SetOutputKind(kind OutputKind) {
+func SetOutputKind(kind Kind) {
43
defaultOutputKind = kind
44
45
0 commit comments