Skip to content

Commit f371098

Browse files
nvanbenschotentamird
authored andcommittedDec 23, 2021
Update to go modules
This avoids the need to set the `GO111MODULE=off` env var when running with Go 1.16+. Diff generated with: ``` ➜ go version go version go1.17.5 darwin/arm64 ➜ go mod init go: creating new go.mod: module github.com/petermattis/goid go: to add module requirements and sums: go mod tidy ➜ go mod tidy ➜ go mod vendor go: no dependencies to vendor ➜ go test . ok github.com/petermattis/goid 0.699s ``` This is mod file is nice and simple because the project has no external dependencies.
1 parent b0b1615 commit f371098

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/petermattis/goid
2+
3+
go 1.17

0 commit comments

Comments
 (0)
Please sign in to comment.