Go Source Checker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
checker
.gitignore
.travis.yml
LICENSE
README.md
go.mod
go.sum
main.go

README.md

Go Source Checker

Build Status Go Report Card

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 of gsc:
	gsc [flags] # runs on package in current directory
	gsc [flags] packages
	gsc [flags] directory
	gsc [flags] files... # must be a single package

For more about the flags, see 'gsc -help'.