diff --git a/go.mod b/go.mod index 4d0564a..06fbe26 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,8 @@ require ( github.com/astaxie/beego v1.12.3 github.com/go-sql-driver/mysql v1.9.3 github.com/satori/go.uuid v1.2.0 + gorm.io/driver/mysql v1.6.0 + gorm.io/gorm v1.30.0 ) require ( @@ -56,6 +58,4 @@ require ( google.golang.org/protobuf v1.23.0 // indirect gopkg.in/ini.v1 v1.51.0 // indirect gopkg.in/yaml.v2 v2.3.0 // indirect - gorm.io/driver/mysql v1.6.0 // indirect - gorm.io/gorm v1.30.0 // indirect ) diff --git a/goGet.sh b/goGet.sh index 4e52b61..a5d574c 100755 --- a/goGet.sh +++ b/goGet.sh @@ -1,6 +1,6 @@ #!/bin/bash -export GOPROXY=https://goproxy.io +#export GOPROXY=https://goproxy.io mkdir -p $HOME/goftpdir #chmod 777 $HOME/goftpdir @@ -9,6 +9,8 @@ go get github.com/satori/go.uuid || echo github.com/satori/go.uuid go get github.com/beego/bee || echo github.com/beego/bee go get github.com/go-sql-driver/mysql || echo github.com/go-sql-driver/mysql +go install github.com/beego/bee/v2@latest + #gorm go get -u gorm.io/gorm #gorm mysql driver