Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option struct { Symbol string //ShowDetail bool Format OutputFormatType // text(default) or json or csv }
Option execution parameters
type OutputFormatType ¶
type OutputFormatType string
const ( OutputFormatTypeText OutputFormatType = "text" OutputFormatTypeJson OutputFormatType = "json" OutputFormatTypeCsv OutputFormatType = "csv" )
func ParseOutputFormat ¶
func ParseOutputFormat(s string) (OutputFormatType, error)
Click to show internal directories.
Click to hide internal directories.