2 回答

TA貢獻(xiàn)1829條經(jīng)驗(yàn) 獲得超7個(gè)贊
實(shí)際上沒(méi)有太多的錯(cuò)誤消息,它被稱為。錯(cuò)誤消息中只有一個(gè)錯(cuò)誤:Stack Traces
not implemented

TA貢獻(xiàn)1841條經(jīng)驗(yàn) 獲得超3個(gè)贊
問(wèn)題解決了,我正在升級(jí) gorm.io/gorm v.1.20.8 庫(kù)
以下是我的項(xiàng)目go.mod文件內(nèi)容。
module github.com/yangwawa0323/go-orders-graphql-api
go 1.15
require (
github.com/99designs/gqlgen v0.13.0
github.com/agnivade/levenshtein v1.1.0 // indirect
github.com/dgryski/trifles v0.0.0-20200830180326-aaf60a07f6a3 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mitchellh/mapstructure v1.4.0 // indirect
github.com/stretchr/testify v1.6.1 // indirect
github.com/vektah/gqlparser/v2 v2.1.0
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
gorm.io/driver/mysql v1.0.3
gorm.io/gorm v1.20.8
)
升級(jí)庫(kù)后,我運(yùn)行命令
shell$ gqlgen generate
一切都很好。
這是我 github.com 源代碼。如果您有興趣,可以下載并嘗試。
go-orders-graphql-api
- 2 回答
- 0 關(guān)注
- 151 瀏覽
添加回答
舉報(bào)