Documentation
¶
Index ¶
- func JSON(w io.Writer, value any)
- func Map(w io.Writer, header []string, vals map[string]string)
- func Object(w io.Writer, format string, value any)
- func Print(w io.Writer, value any)
- func RegisterType(typ any, printFunc func(io.Writer, any))
- func Strings(w io.Writer, res []string)
- func Yaml(w io.Writer, value any)
- type Printer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterType ¶
RegisterType allows registering a custom print function for a specific type.
Types ¶
Click to show internal directories.
Click to hide internal directories.