You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,14 @@ checksum verified
86
86
By default we try to verify the checksum of each install but ocassionally [that's not possible](https://github.com/kennyp/asdf-golang/issues/91).
87
87
If you need to skip the checksum for some reason just set `ASDF_GOLANG_SKIP_CHECKSUM`.
88
88
89
+
## `GOROOT` and `GOPATH` Overrides
90
+
91
+
By default, `$GOROOT` and `$GOPATH` are set to the selected version's
92
+
`.../go` and `.../packages` dirs, and unset if the selected version is
93
+
`system`. Set the `$ASDF_GOLANG_DISABLE_GOROOT` and/or
94
+
`$ASDF_GOLANG_DISABLE_GOPATH` environment variables to `1` to disable
95
+
this behavior for the respective variables.
96
+
89
97
## Contributing
90
98
91
99
Feel free to create an issue or pull request if you find a bug.
0 commit comments