mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 21:10:27 -06: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:
@@ -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
|
||||
Reference in New Issue
Block a user