Skip to content

Commit 28ab8ee

Browse files
bhundvenactions-user
authored andcommitted
chore: Update README.md for release
1 parent 69a5a09 commit 28ab8ee

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ This is a collection of golang [pre-commit](http://pre-commit.com/) hooks.
55

66
```yaml
77
- repo: https://github.com/bhundven/golang-pre-commit.git
8-
rev: v1.0.0
8+
rev: v1.0.1
99
hooks:
1010
- id: go-fmt
1111
```
1212
1313
## Available Hooks
1414
15-
* `go-fmt` - Runs `gofmt`. Requires golang
16-
* `go-imports` - Runs `goimports`. Requires golang and goimports
17-
* `go-vet` - Runs `go vet`. Requires golang
18-
* `go-lint` - Runs `golint`. Requires golang and golint
19-
* `golangci-lint` - Runs `golangci-lint`. Requires golangci-lint
20-
* `go-critic` - Runs `gocritic`. Requires gocritic
21-
* `go-unit-tests` - Runs `go test`
22-
* `go-build` - Runs `go build`
23-
* `go-generate` - Runs `go generate`
24-
* `go-mod-tidy` - Runs `go mod tidy -v`
25-
* `go-mod-vendor` - Runs `go mod vendor`
15+
* `go-fmt` - Runs `gofmt`. Requires golang: https://go.dev/doc/install
16+
* `go-imports` - Runs `goimports`. Requires goimports: https://pkg.go.dev/golang.org/x/tools/cmd/goimports
17+
* `go-vet` - Runs `go vet`. Requires golang: https://go.dev/doc/install
18+
* `go-lint` - [DEPRECATED] Runs `golint`. Requires golint: https://github.com/golang/lint
19+
* `golangci-lint` - Runs `golangci-lint`. Requires golangci-lint: https://github.com/golangci/golangci-lint
20+
* `go-critic` - Runs `gocritic`. Requires gocritic: https://github.com/go-critic/go-critic
21+
* `go-unit-tests` - Runs `go test`. Requires golang: https://go.dev/doc/install
22+
* `go-build` - Runs `go build`. Requires golang: https://go.dev/doc/install
23+
* `go-generate` - Runs `go generate`. Requires golang: https://go.dev/doc/install
24+
* `go-mod-tidy` - Runs `go mod tidy -v`. Requires golang: https://go.dev/doc/install
25+
* `go-mod-vendor` - Runs `go mod vendor`. Requires golang: https://go.dev/doc/install

0 commit comments

Comments
 (0)