Hi everyone,

hoping someone can help.

I did a brand new install of 'go' using the instructions from here: 
https://golang.org/doc/install

I have no knowlege of 'go' but thought I would take a look.

I tried to install some software from another source using the command 
given: 

go get github.com/linkedin/Burrow

And all I get is a load of errors about the import path not beginning with 
the hostname, and nothing to help fix it?

I have googled this issue, and the responses are somewhat confusing to say 
the least.  Some solutions about unsetting go path etc, etc.

I tried this.

unset GOROOT

But it does not help.

This is the output from running go env.

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct";
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
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 -fno-caret-diagnostics -Qunused-arguments 
-fmessage-length=0 -fdebug-prefix-map=/tmp/go-build039360015=/tmp/go-build 
-gno-record-gcc-switches"



As a newbie to 'go' I expected it to work out of the box and was not 
expecting a load of errors and no hint of what is wrong.

Can anyone help please, I am now stuck.



-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/07277736-b9e3-401e-b6fe-360ff7378128%40googlegroups.com.

Reply via email to