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

sha3/xor.go:subtle.XORBytes is undefined #68011

Closed
thisuseryun opened this issue Jun 15, 2024 · 2 comments
Closed

sha3/xor.go:subtle.XORBytes is undefined #68011

thisuseryun opened this issue Jun 15, 2024 · 2 comments

Comments

@thisuseryun
Copy link

Go version

go version 1.18.5 amd64

Output of go env in your module/workspace:

set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOENV=C:\Users\Administrator\AppData\Roaming\go\env  
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Administrator\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Administrator\go
set GOPRIVATE=
set GOPROXY=https://goproxy.cn,direct
set GOROOT=D:\devtool\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
GOTOOLDIR=D:\devtool\go\pkg\tool\windows_amd64
GOVCS=
GOVERSION=go1.18.4
GCCGO=gccgo
GOAMD64=v1
AR=ar
CC=gcc
CXX=g++
CGO_ENABLED=1
GOMOD=C:\Users\Administrator\go\pkg\mod\golang.org\x\crypto@v0.24.0\go.mod
GOWORK=
CGO_CFLAGS=-g -O2
CGO_CPPFLAGS=
CGO_CXXFLAGS=-g -O2
CGO_FFLAGS=-g -O2
CGO_LDFLAGS=-g -O2
PKG_CONFIG=pkg-config
GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Administrator\AppData\Local\Temp\go-build3615246982=/tmp/go-build -gno-record-gcc-switches

What did you do?

install gin;crypto version:0.24.0;
go run main.go;

What did you see happen?

no

What did you expect to see?

golang.org\x\cryptc@0.24.0\sha3\xor.go:25:10: undefined subtle.XORBytes

@seankhliao
Copy link
Member

That's no longer a supported version of Go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants