go-message-fmt

command module
v0.0.0-...-e4bf114 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

README

go-message-fmt

Go linter for log message formatting.

Current checks:

  • that logrus log messages are not capitalized
  • that kingpin command help is capitalized

Installation

$ go install .

Running

$ go-message-fmt ./...
/Users/jpeach/upstream/contour/internal/k8s/status.go:123:12: message starts with uppercase: "Update was a no-op"
...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL