Closed cluster1989 closed 7 years ago
when i go get source code
$ go get github.com/kabukky/journey # github.com/kabukky/journey/database github.com/kabukky/journey/database/initialization.go:146: undefined: uuid.CleanHyphen github.com/kabukky/journey/database/insertion.go:29: undefined: uuid.CleanHyphen github.com/kabukky/journey/database/insertion.go:31: undefined: uuid.CleanHyphen github.com/kabukky/journey/database/insertion.go:51: undefined: uuid.CleanHyphen github.com/kabukky/journey/database/insertion.go:84: undefined: uuid.CleanHyphen github.com/kabukky/journey/database/insertion.go:117: undefined: uuid.CleanHyphen github.com/kabukky/journey/database/insertion.go:131: undefined: uuid.CleanHyphen
my go env is
GOARCH="amd64" GOBIN="/Users/nick/iGit/iSpace/iGo/libdir/bin:/Users/nick/Documents/go_work_space/bin" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/nick/iGit/iSpace/iGo/libdir:/Users/nick/Documents/go_work_space" GORACE="" GOROOT="/usr/local/Cellar/go/1.7.4/libexec" GOTOOLDIR="/usr/local/Cellar/go/1.7.4/libexec/pkg/tool/darwin_amd64" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/l_/0g1b3j957_v4lyvhckkdlc0m0000gn/T/go-build193579327=/tmp/go-build -gno-record-gcc-switches -fno-common" CXX="clang++" CGO_ENABLED="1"
i have already solved this problem , because the prject's uuid version is not the lattest.so if we put https://github.com/twinj/uuid/releases/tag/0.10.0 this into uuid it is ok
when i go get source code
my go env is