gsc checkes bits and pieces of problems in Go source code.
Check | Description |
---|---|
ctxscope | Not to use context.Context outside the scope. |
rangeptr | Not to use pointer to the loop iteration variable. |
go get -u github.com/daisuzu/gsc
Usage: gsc [-flag] [package]
Run 'gsc help' for more detail,
or 'gsc help name' for details and flags of a specific analyzer.