@@ -6777,6 +6777,8 @@ function install_gogs {
# install Go
apt-get -y install golang
+ echo 'export GOPATH=/home/git/go' >> ~/.bashrc
+ . ~/.bashrc
export GOPATH=/home/git/go
if [ ! -d $GOPATH ]; then
mkdir -p $GOPATH