You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying use sql parser by follow parser quickstart
this guide works fine in v5.3.0, didn't work in latest version v7.5.0
PS: cmp&slices seems like been add in go 1.21, but go version in parser's go.mod is 1.18, How does this work?
1. Minimal reproduce step (Required)
mkdir colx
cd colx
go mod init colx
touch main.go
go get -v github.com/pingcap/tidb/pkg/parser@069631e
get this error
github.com/pingcap/tidb/pkg/parser imports
github.com/pingcap/tidb/pkg/parser/charset imports
cmp: package cmp is not in GOROOT (/usr/local/go/src/cmp)
github.com/pingcap/tidb/pkg/parser imports
github.com/pingcap/tidb/pkg/parser/charset imports
slices: package slices is not in GOROOT (/usr/local/go/src/slices)
Enhancement
I am trying use sql parser by follow parser quickstart
this guide works fine in v5.3.0, didn't work in latest version v7.5.0
PS: cmp&slices seems like been add in go 1.21, but go version in parser's go.mod is 1.18, How does this work?
1. Minimal reproduce step (Required)
get this error
go version & env
The text was updated successfully, but these errors were encountered: