At one point, I got the error and could not go on.
d:\dvp\go\src>go get github.com/beego/bee
# github.com/gadelkareem/delve/service/rpccommon
C:\Users\apeng\go\src\github.com\gadelkareem\delve\service\rpccommon\server.go:83:3: cannot use logger (type *"github.com/go-delve/delve/vendor/github.com/sirupsen/logrus".Entry) as type *"github.com/gadelkareem/delve/vendor/github.com/sirupsen/logrus".Entry in field value
# github.com/gadelkareem/delve/service/debugger
C:\Users\apeng\go\src\github.com\gadelkareem\delve\service\debugger\debugger.go:129:3: cannot use logger (type *"github.com/go-delve/delve/vendor/github.com/sirupsen/logrus".Entry) as type *"github.com/gadelkareem/delve/vendor/github.com/sirupsen/logrus".Entry in field value
# github.com/gadelkareem/delve/service/rpccommon
C:\Users\apeng\go\src\github.com\gadelkareem\delve\service\rpccommon\server.go:83:3: cannot use logger (type *"github.com/go-delve/delve/vendor/github.com/sirupsen/logrus".Entry) as type *"github.com/gadelkareem/delve/vendor/github.com/sirupsen/logrus".Entry in field value
# github.com/gadelkareem/delve/service/debugger
C:\Users\apeng\go\src\github.com\gadelkareem\delve\service\debugger\debugger.go:129:3: cannot use logger (type *"github.com/go-delve/delve/vendor/github.com/sirupsen/logrus".Entry) as type *"github.com/gadelkareem/delve/vendor/github.com/sirupsen/logrus".Entry in field value
Duck Gave me the solution : https://www.codenong.com/cs107084192/
Now, I am looking what is GO111Module.
d:\dvp\go\src>
d:\dvp\go\src>set GO111MODULE=on
d:\dvp\go\src>set GOPROXY=https://goproxy.io
d:\dvp\go\src>go get github.com/beego/bee
go: downloading github.com/beego/bee v1.12.0
go: github.com/beego/bee upgrade => v1.12.0
go: downloading github.com/astaxie/beego v1.12.1
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/lib/pq v1.7.0
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/go-sql-driver/mysql v1.5.0
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading github.com/gadelkareem/delve v1.4.2-0.20200619175259-dcd01330766f
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/flosch/pongo2 v0.0.0-20200529170236-5abacdfa4915
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/smartwalle/pongo2render v1.0.1
go: downloading github.com/spf13/viper v1.7.0
go: downloading golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9
go: downloading github.com/spf13/pflag v1.0.3
go: downloading github.com/spf13/afero v1.1.2
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading go.starlark.net v0.0.0-20190702223751-32f345186213
go: downloading github.com/peterh/liner v0.0.0-20170317030525-88609521dc4b
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.3
go: downloading golang.org/x/arch v0.0.0-20190927153633-4e8777c89be4
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/cosiner/argv v0.1.0
d:\dvp\go\src>set GO111MODULE=on
d:\dvp\go\src>set GOPROXY=https://goproxy.io
d:\dvp\go\src>go get github.com/beego/bee
go: downloading github.com/beego/bee v1.12.0
go: github.com/beego/bee upgrade => v1.12.0
go: downloading github.com/astaxie/beego v1.12.1
go: downloading gopkg.in/yaml.v2 v2.3.0
go: downloading github.com/lib/pq v1.7.0
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/go-sql-driver/mysql v1.5.0
go: downloading github.com/pelletier/go-toml v1.2.0
go: downloading github.com/gadelkareem/delve v1.4.2-0.20200619175259-dcd01330766f
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/flosch/pongo2 v0.0.0-20200529170236-5abacdfa4915
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/smartwalle/pongo2render v1.0.1
go: downloading github.com/spf13/viper v1.7.0
go: downloading golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9
go: downloading github.com/spf13/pflag v1.0.3
go: downloading github.com/spf13/afero v1.1.2
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/spf13/jwalterweatherman v1.0.0
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading golang.org/x/text v0.3.2
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading github.com/sirupsen/logrus v1.6.0
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading go.starlark.net v0.0.0-20190702223751-32f345186213
go: downloading github.com/peterh/liner v0.0.0-20170317030525-88609521dc4b
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.3
go: downloading golang.org/x/arch v0.0.0-20190927153633-4e8777c89be4
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/cosiner/argv v0.1.0
No comments:
Post a Comment