https://github.com/daisuzu/gsc
Go Source Checker
https://github.com/daisuzu/gsc
go linter
Last synced: about 1 year ago
JSON representation
Go Source Checker
- Host: GitHub
- URL: https://github.com/daisuzu/gsc
- Owner: daisuzu
- License: mit
- Created: 2018-03-31T08:19:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-29T12:52:03.000Z (about 7 years ago)
- Last Synced: 2025-03-26T03:04:26.140Z (over 1 year ago)
- Topics: go, linter
- Language: Go
- Size: 22.5 KB
- Stars: 15
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Source Checker
[](https://travis-ci.org/daisuzu/gsc)
[](https://goreportcard.com/report/github.com/daisuzu/gsc)
_gsc_ checkes bits and pieces of problems in Go source code.
## Checks
| Check | Description |
| ----- | ----------- |
| [ctxscope](ctxscope/testdata/src/a/a.go) | Not to use [context.Context](https://golang.org/pkg/context/#Context) outside the scope. |
| [rangeptr](rangeptr/testdata/src/a/a.go) | Not to use pointer to the loop iteration variable. |
## Installation
```sh
go get -u github.com/daisuzu/gsc
```
## Usage
```sh
Usage: gsc [-flag] [package]
Run 'gsc help' for more detail,
or 'gsc help name' for details and flags of a specific analyzer.
```