Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTabWriter ¶
NewTabWriter returns a default writer to write tables.
func Print ¶
func Print(format string, in interface{}, w io.Writer, fn PrintTable) error
Print prints any object in yaml, json or table format.
func SanitizeAddr ¶ added in v2.14.0
Sanitize and validate HTTP listen address. It accepts "port", ":port", "ip:port", "[ipv6]:port" as valid addresses if only "port" is provided, the semi-colon prefix is added
Types ¶
Click to show internal directories.
Click to hide internal directories.