aboutsummaryrefslogtreecommitdiff
path: root/go.env
diff options
context:
space:
mode:
Diffstat (limited to 'go.env')
-rw-r--r--go.env8
1 files changed, 8 insertions, 0 deletions
diff --git a/go.env b/go.env
new file mode 100644
index 0000000000..826192283f
--- /dev/null
+++ b/go.env
@@ -0,0 +1,8 @@
+# This file contains the initial defaults for go command configuration.
+# Values set by 'go env -w' and written to the user's go/env file override these.
+# The environment overrides everything else.
+
+# Use the Go module mirror and checksum database by default.
+# See https://proxy.golang.org for details.
+GOPROXY=https://proxy.golang.org,direct
+GOSUMDB=sum.golang.org