Skip to content

Commit

Permalink
Merge pull request #927 from lubgr/docs/extend-golang-section
Browse files Browse the repository at this point in the history
Extend golang docs: additional dependencies and tooling semantics
  • Loading branch information
asottile authored Feb 10, 2024
2 parents 1c3eccb + 2bfa056 commit 93d2279
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sections/new-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ The hook repository must contain go source code. It will be installed via
and the [`entry`](#hooks-entry) should match an executable which will get installed into the
`GOPATH`'s `bin` directory.
This language supports `additional_dependencies` and will pass any of the values directly to `go
install`. It can be used as a `repo: local` hook.
_changed in 2.17.0_: previously `go get ./...` was used
_new in 3.0.0_: pre-commit will bootstrap `go` if it is not present. `language: golang`
Expand Down

0 comments on commit 93d2279

Please sign in to comment.