Skip to content

Commit 2bfa056

Browse files
lubgrasottile
authored andcommitted
Extend golang docs: additional dependencies and tooling semantics
1 parent 1c3eccb commit 2bfa056

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sections/new-hooks.md

+3
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@ The hook repository must contain go source code. It will be installed via
314314
and the [`entry`](#hooks-entry) should match an executable which will get installed into the
315315
`GOPATH`'s `bin` directory.
316316
317+
This language supports `additional_dependencies` and will pass any of the values directly to `go
318+
install`. It can be used as a `repo: local` hook.
319+
317320
_changed in 2.17.0_: previously `go get ./...` was used
318321
319322
_new in 3.0.0_: pre-commit will bootstrap `go` if it is not present. `language: golang`

0 commit comments

Comments
 (0)