Documentation ¶ Index ¶ Constants type Format type Formatter func GetFormatter(format Format) (Formatter, error) Constants ¶ View Source const ( // FormatJSON constant for json format FormatJSON = Format("json") // FormatHuman constant for human readable format FormatHuman = Format("human") ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Format ¶ type Format string Format name of a output format type Formatter ¶ type Formatter interface { Format(writer io.Writer, errors []yttlint.LinterError) error } Formatter turns arrays into a string (and prints them to a writer) func GetFormatter ¶ func GetFormatter(format Format) (Formatter, error) GetFormatter returns a formatter for a given string Source Files ¶ View all Source files formatter.go Click to show internal directories. Click to hide internal directories.