Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot retrieve crypto/sha256 package using go get #31114

Closed
OonjuoO opened this issue Mar 28, 2019 · 0 comments
Closed

cannot retrieve crypto/sha256 package using go get #31114

OonjuoO opened this issue Mar 28, 2019 · 0 comments

Comments

@OonjuoO
Copy link

OonjuoO commented Mar 28, 2019

What version of Go are you using (go version)?

go version go1.12 linux/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN="/home/oonjuoo/projects/bin"
GOCACHE="/home/oonjuoo/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/oonjuoo/projects/src"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
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 -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build626961719=/tmp/go-build -gno-record-gcc-switches"

What did you do?

go get golang.org/x/crypto/sha256

What did you expect to see?

successfully fetch this package

What did you see instead?

go: finding golang.org/x/crypto/sha256 latest
go: finding golang.org/x/crypto latest
go get golang.org/x/crypto/sha256: no matching versions for query "latest"

Also see this go doc, https://godoc.org/github.com/golang/go/src/crypto/sha256#pkg-files
Trying to get the package from github.com/golanggo/src/crypto/sha256 but no luck

I can do go get -u golang.org/x/crypto/... but this sha256 package was not inside.

@OonjuoO OonjuoO closed this as completed Mar 28, 2019
@golang golang locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants