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