wget https://golang.org/dl/go1.16.5.linux-amd64.tar.gz
tar xvf go1.16.5.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local
sudo nano ~/.profile
## Add the following at the end: ##
export GOPATH=$HOME/work
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
source ~/.profile
mkdir $HOME/work
go env -w GO111MODULE=auto
go get -u github.com/gin-gonic/gin
go get -u github.com/go-pg/pg
go get github.com/go-pg/pg/v9
go get github.com/go-pg/pg/v9/orm
go run main.go
-
Notifications
You must be signed in to change notification settings - Fork 1
License
appscluster/bench_go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published