Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultStructToString ¶
func DefaultStructToString(input Formattable) (string, error)
func MarshalToJson ¶
func MarshalToJson(input Formattable) (string, error)
func MarshalToYaml ¶
func MarshalToYaml(input Formattable) (string, error)
Types ¶
type Formattable ¶
type Formatter ¶
type Formatter func(Formattable) (string, error)
Click to show internal directories.
Click to hide internal directories.