Documentation
¶
Index ¶
Constants ¶
View Source
const ( TextFormat = "text" JsonFormat = "json" )
Variables ¶
This section is empty.
Functions ¶
func SupportType ¶
func SupportType() string
Types ¶
type SliceFormatter ¶
type SliceFormatter struct {
// contains filtered or unexported fields
}
func NewSliceFormatter ¶
func NewSliceFormatter(format string, items []string, writer io.Writer) *SliceFormatter
func (*SliceFormatter) Print ¶
func (p *SliceFormatter) Print() error
Click to show internal directories.
Click to hide internal directories.