Thank you so much for fixing #881
However, I'm not sure how I can take advantage of the fix. My current go.mod for sqlc looks like this:
module github.com/kyleconroy/sqlc
go 1.14
require (
github.com/antlr/antlr4 v0.0.0-20200209180723-1177c0b58d07
github.com/davecgh/go-spew v1.1.1
github.com/google/go-cmp v0.3.0
github.com/jinzhu/inflection v1.0.0
github.com/lfittl/pg_query_go v1.0.0
github.com/lib/pq v1.4.0
github.com/pingcap/parser v3.1.1+incompatible
github.com/pingcap/tidb v1.1.0-beta.0.20200426094148-df4c9f05c49c
github.com/spf13/cobra v0.0.5
google.golang.org/genproto v0.0.0-20191223191004-3caeed10a8bf // indirect
google.golang.org/grpc v1.26.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200121175148-a6ecf24a6d71
vitess.io/vitess v0.0.0-20200119095853-bd8205ebca4a
)
If I change v3.1.1+incompatible to master and run go build, this is the diff:
diff --git a/go.mod b/go.mod
index a984507..a8d570b 100644
--- a/go.mod
+++ b/go.mod
@@ -4,13 +4,18 @@ go 1.14
require (
github.com/antlr/antlr4 v0.0.0-20200209180723-1177c0b58d07
+ github.com/cznic/golex v0.0.0-20181122101858-9c343928389c // indirect
+ github.com/cznic/parser v0.0.0-20160622100904-31edd927e5b1 // indirect
+ github.com/cznic/strutil v0.0.0-20171016134553-529a34b1c186 // indirect
+ github.com/cznic/y v0.0.0-20170802143616-045f81c6662a // indirect
github.com/davecgh/go-spew v1.1.1
github.com/google/go-cmp v0.3.0
github.com/jinzhu/inflection v1.0.0
github.com/lfittl/pg_query_go v1.0.0
github.com/lib/pq v1.4.0
- github.com/pingcap/parser v3.1.1+incompatible
+ github.com/pingcap/parser v3.1.0-beta.2.0.20200425032215-994651e9b6df+incompatible
github.com/pingcap/tidb v1.1.0-beta.0.20200426094148-df4c9f05c49c
+ github.com/remyoudompheng/bigfft v0.0.0-20190728182440-6a916e37a237 // indirect
github.com/spf13/cobra v0.0.5
google.golang.org/genproto v0.0.0-20191223191004-3caeed10a8bf // indirect
google.golang.org/grpc v1.26.0 // indirect
Somehow I'm now using commit 994651e9b6df, which is from April. Any ideas what I'm doing wrong?
Thank you so much for fixing #881
However, I'm not sure how I can take advantage of the fix. My current
go.modfor sqlc looks like this:If I change
v3.1.1+incompatibletomasterand rungo build, this is the diff:Somehow I'm now using commit 994651e9b6df, which is from April. Any ideas what I'm doing wrong?