osx - Cannot get GoLang oracle package -
i new golang, chances messed setup.
here have :
echo $gopath /users/name/documents/developer/go_workspace
this 1 worked.
name$ go -v golang.org/x/tools/cmd/oracle
it created 2 subfolders inside go_workspace --> src, bin , pkg.
then when try :
go -u golang.org/x/tools/cmd/oracle package golang.org/x/tools/cmd/oracle: cannot find package "golang.org/x/tools/cmd/oracle" in of: /usr/local/go/src/golang.org/x/tools/cmd/oracle (from $goroot) /users/name/documents/developer/go_workspace/src/golang.org/x/tools/cmd/oracle (from $gopath)
when enable -v
see :
fetching https://golang.org/x/tools/cmd/oracle?go-get=1 parsing meta tags https://golang.org/x/tools/cmd/oracle?go-get=1 (status code 200) "golang.org/x/tools/cmd/oracle": found meta tag main.metaimport{prefix:"golang.org/x/tools", vcs:"git", reporoot:"https://go.googlesource.com/tools"} @ https://golang.org/x/tools/cmd/oracle?go-get=1 "golang.org/x/tools/cmd/oracle": verifying non-authoritative meta tag fetching https://golang.org/x/tools?go-get=1 parsing meta tags https://golang.org/x/tools?go-get=1 (status code 200) golang.org/x/tools (download) package golang.org/x/tools/cmd/oracle: cannot find package "golang.org/x/tools/cmd/oracle" in of: /usr/local/go/src/golang.org/x/tools/cmd/oracle (from $goroot) /users/name/documents/developer/go_workspace/src/golang.org/x/tools/cmd/oracle (from $gopath)
here .bash_profile
1 path=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin 2 export gopath=$home/documents/developer/go_workspace 3 export path=$path:/usr/local/go/bin 4 export path=$path:$gopath/bin
can me this? did mess up?
i running on bash terminal on macos.
you trying install deprecated library. oracle has been superseded guru , deleted on 1 oct 2016.
Comments
Post a Comment