Showing 3 of 18 total issues
Colors
has 23 methods (exceeds 20 allowed). Consider refactoring. Open
Open
type Colors struct{}
Method Command.IsValid
has 5 return statements (exceeds 4 allowed). Open
Open
func (command *Command) IsValid() error { application := command.config.Application if len(application) == 0 { return errors.New("no application was specified") }
Method FileInitialiser.Handle
has 5 return statements (exceeds 4 allowed). Open
Open
func (fi FileInitialiser) Handle(skip ...bool) error { if len(skip) > 0 && skip[0] { fi.logger.Info( Color("gray", fmt.Sprintf("godev> skipping '%s' - already exists", path.Base(fi.Path)),