Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend golang docs: additional dependencies and tooling semantics #927

Merged
merged 1 commit into from
Feb 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading