setup.sh 255 B

123456789101112
  1. #!/bin/bash
  2. # Set the root of our go installation
  3. export GOROOT=${IROOT}/go
  4. export GOPATH=${TROOT}
  5. # Where to find the go executable
  6. export PATH="$GOROOT/bin:$PATH"
  7. go get github.com/gin-gonic/gin
  8. go get github.com/go-sql-driver/mysql
  9. go run hello.go &