mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Add support for Go 1.16
Go 1.16 changes the way modules are handled. It now expects Go projects to have non-empty `go.mod` files. This change is compatible with Go 1.15. Fixes #1815
This commit is contained in:
parent
f3de91c2bb
commit
fe1f56c08f
2 changed files with 2 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
module pre-commit-dummy-empty-module
|
||||
1
testing/resources/golang_hooks_repo/go.mod
Normal file
1
testing/resources/golang_hooks_repo/go.mod
Normal file
|
|
@ -0,0 +1 @@
|
|||
module golang-hello-world
|
||||
Loading…
Add table
Add a link
Reference in a new issue