我试图通过在测试网站上简单地创建用户容器来测试GridDB Go客户端。我的问题是我不断收到以下错误:
main.go:28:2: no Go files in /home/gopheritis/go/src/github.com/griddb/go_client
这是我的Go Env ...一切正常且有效:
GOARCH="amd64"
GOBIN="/home/gopheritis/go/bin"
GOCACHE="/home/gopheritis/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/gopheritis/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build238154447=/tmp/go-build -gno-record-gcc-switches"
我按照说明进行操作,他们提到跑步
export GODEBUG=cgocheck=0
我已经做了。我显然想念其他东西,那会是什么?