From 67efe240d43ed3284f9050432aeb1c31b7bbb863 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 20 Nov 2019 20:39:29 +0100 Subject: [PATCH] shell/env: add Go settings --- shell/shell/env | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/shell/shell/env b/shell/shell/env index b3ff0c3..973e54f 100644 --- a/shell/shell/env +++ b/shell/shell/env @@ -153,4 +153,15 @@ export VALGRIND_OPTS GIT_SSH_COMMAND='ssh -o ConnectTimeout=3' export GIT_SSH_COMMAND +# Go settings +GOPATH="$HOME/development/go:/usr/share/gocode" +export GOPATH +# Prevent privacy issues by disabling the use of https://proxy.golang.org +# which is the default since Go 1.13. +GOPROXY=direct +export GOPROXY +# Same for https://sum.golang.org/ +GOSUMDB=off +export GOSUMDB + # vim: ft=sh -- 2.43.2