Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FmtOutputHandler ¶
type FmtOutputHandler struct { Logger *log.Logger ErrorLogger *log.Logger Ok string Ko string OkColor func(a ...interface{}) string KoColor func(a ...interface{}) string PrintContext bool }
func NewFmtOutputHandler ¶
func NewFmtOutputHandler(colored, printContext bool) *FmtOutputHandler
func (*FmtOutputHandler) AddMatches ¶
func (f *FmtOutputHandler) AddMatches(path string, matches []*model.Match)
func (*FmtOutputHandler) AddPathError ¶
func (f *FmtOutputHandler) AddPathError(path string, e error)
Click to show internal directories.
Click to hide internal directories.