Created
December 6, 2025 10:01
-
-
Save repodevs/7b19768e4ee11e1a3396c933ca2a5fb0 to your computer and use it in GitHub Desktop.
direnv auto load and set golang version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export GOROOT="$(go1.17 env GOROOT)" | |
| PATH_add "$(go1.17 env GOROOT)/bin" | |
| export GO111MODULE=on | |
| export GOFLAGS=-mod=vendor | |
| export CGO_ENABLED=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment