fix: setup go env in automation with init script
set -x
set -e
+if [ ! "$(go version | awk '{print $3}' | cut -c 3-6)" = "1.16" ]
+then
+ wget https://golang.org/dl/go1.16.9.linux-amd64.tar.gz
+ tar -C $TMPDIR -xzf go1.16.9.linux-amd64.tar.gz
+ export PATH=$TMPDIR/go/bin:$PATH
+fi
export GOPATH="$(realpath ../../../..)"
if [ ! -d "$GOPATH/bin" ]
then
