From: Simon Ruderich Date: Wed, 20 Nov 2019 19:39:29 +0000 (+0100) Subject: shell/env: add Go settings X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=67efe240d43ed3284f9050432aeb1c31b7bbb863;p=config%2Fdotfiles.git shell/env: add Go settings --- 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