add envs for go

This commit is contained in:
thek4n 2024-11-19 13:42:50 +03:00
parent 7fee966adf
commit 11d26ecad1

View File

@ -1,6 +1,8 @@
# vim: ft=zsh # vim: ft=zsh
umask 022
export XDG_CONFIG_HOME="${HOME}/.config" export XDG_CONFIG_HOME="${HOME}/.config"
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh" export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
@ -45,4 +47,7 @@ if [ -d "${HOME}/.local/bin" ] ; then
export PATH="${HOME}/.local/bin:${PATH}" export PATH="${HOME}/.local/bin:${PATH}"
fi fi
umask 022 export GOCACHE="/tmp/go-cache"
export GOPATH="${HOME}/.cache/go"
export GOENV="${GOPATH}/env"
export GOMODCACHE="${GOPATH}/pkg/mod"