google / uuid

Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
BSD 3-Clause "New" or "Revised" License
5.24k stars 363 forks source link

📝 Compile Version not matches #68

Closed vovs03 closed 3 years ago

vovs03 commented 3 years ago

📝 Compile Version not matches

I input in terminal go get github.com/google/uuid Go version: - go version go1.15.3 darwin/amd64

Go env

GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/vovs03/go/bin"
GOCACHE="/Users/vovs03/Library/Caches/go-build"
GOENV="/Users/vovs03/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/vovs03/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/vovs03/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
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=/var/folders/zr/05xnlj6d0bz4fqxf6mv7km1h0000gn/T/go-build085126828=/tmp/go-build -gno-record-gcc-switches -fno-common"

:a: Problem

result of go get github.com/google/uuid

Снимок экрана 2020-11-06 в 9 23 19

How can me solve this problem? Any ideas...

pborman commented 3 years ago

I think you Go installation is mixed up, I recommend re-installing Go and making sure you don't have any other versions.

pborman commented 3 years ago

Closing issue as no followup. Re-open if necessary.