Slide 20
Slide 20 text
Example output
$ golangci-lint run
cmd/install.go:40:13: Error return value of `errors.New` is not↵
checked (errcheck)
errors.New("Currently templates can only be installed from↵
a Git repository")
^
templ/gen.go:22:15: Error return value of `utils.CopyDir` is not↵
checked (errcheck)
utils.CopyDir(templatePath, targetPath)
^
cmd/install.go:38:11: composites: `github.com/bmuschko/↵
lets-gopher-exercise/remote.GitRepo` composite literal uses↵
unkeyed fields (govet)
repo = &remote.GitRepo{repoUrl, templ.TemplateDir}
^