bee
bee copied to clipboard
Fail to install bee on windows. Reason: no Go files in
Fail to install bee
go get github.com/beego/bee go: finding github.com/derekparker/delve/terminal latest go build github.com/derekparker/delve/terminal: no Go files in
go env
set GOARCH=amd64 set GOBIN= set GOCACHE=C:\Users\xxx\AppData\Local\go-build set GOEXE=.exe set GOFLAGS= set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=C:\Users\xxx\go set GOPROXY= set GORACE= set GOROOT=C:\Go set GOTMPDIR= set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64 set GCCGO=gccgo set CC=gcc set CXX=g++ set CGO_ENABLED=1 set GOMOD=C:\Users\xxx\GoLandProjects\beego\go.mod set CGO_CFLAGS=-g -O2 set CGO_CPPFLAGS= set CGO_CXXFLAGS=-g -O2 set CGO_FFLAGS=-g -O2 set CGO_LDFLAGS=-g -O2 set PKG_CONFIG=pkg-config set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\xxx\AppData\Local\Temp\1\go-build295673786=/tmp/go-build -gno-record-gcc-switches
Well I think that the project "github/derekparker/delve" no more exist.
The Golang package management is so stupid.
Well,the project github.com/derekparker/delve
becomes https://github.com/go-delve/delve
, so we should use third part package carefully and be concerned about it.
So, how we fork all the third part packages and freeze them.
We should fork it before using a third part package and maintain it in case the original author modify it. So, in our project we should use our own go package address which is forked from original author.
It's a workaround but good enough for this situation.