Documentation ¶ Index ¶ func Print(c Config, defaultTemplate string, v interface{}) error type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Print ¶ func Print(c Config, defaultTemplate string, v interface{}) error Print outputs v to os.Stdout while handling configured formats, if the optional t is given then it's processed as a go-template, this template will be handled with a tabwriter so you can use tabs (\t) and new lines (\n) to space your content evenly. Types ¶ type Config ¶ type Config interface { Output() string } Source Files ¶ View all Source files output.go Click to show internal directories. Click to hide internal directories.