Documentation
¶
Index ¶
- func BoolToStar(obj interface{}) (string, error)
- func FormatCreated(data interface{}) (string, error)
- func FormatFirst(data, data2 interface{}) (string, error)
- func FormatJSON(data interface{}) (string, error)
- func FormatJSONCompact(data interface{}) (string, error)
- func FormatSpew(data interface{}) (string, error)
- func FormatStackScopedName(defaultNamespace string) func(interface{}, interface{}, interface{}) (string, error)
- func FormatYAML(data interface{}) (string, error)
- func Graph(value int) (string, error)
- func SimpleFormat(values [][]string) (string, string)
- func State(obj interface{}) (string, error)
- func ToArray(s []string) (string, error)
- func ToJSON(data interface{}) (map[string]interface{}, error)
- func Transitioning(obj interface{}) (string, error)
- func WriterFlags() []cli.Flag
- type FormatFunc
- type Writer
- type WriterConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatStackScopedName ¶
Types ¶
type FormatFunc ¶
type FormatFunc interface{}
type Writer ¶
type Writer interface {
Write(obj interface{})
Close() error
Err() error
AddFormatFunc(name string, f FormatFunc)
}
func NewWriter ¶
func NewWriter(values [][]string, config WriterConfig) Writer
Source Files
¶
- flags.go
- fmt.go
- writer.go
Click to show internal directories.
Click to hide internal directories.