Documentation ¶ Index ¶ type Output func Parse(s string) (Output, error) func (o Output) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Output ¶ type Output int Output represents the output format. const ( // TextOutput means output will be in text format. This is the default value. TextOutput Output = iota // JSONOutput means output will be in JSON format. JSONOutput // RawJSONOutput means output will be in raw JSON format. RawJSONOutput ) func Parse ¶ func Parse(s string) (Output, error) Parse parses an output from a string. func (Output) String ¶ func (o Output) String() string String returns the string representation of an output. Source Files ¶ View all Source files output.go Click to show internal directories. Click to hide internal directories.