We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
panic: type (int unsigned) not match in any way.maybe need to add on (https://github.com/xxjwxc/gormt/blob/master/data/view/cnf/def.go)
goroutine 1 [running]: github.com/xxjwxc/gormt/data/view/model.getTypeName(0xc000392c14, 0xc, 0x1607886, 0x1) /Users/eric/Downloads/gormt-3.0.3/data/view/model/common.go:51 +0x218 github.com/xxjwxc/gormt/data/view/model.(_Model).genTableElement(0xc000375c10, 0xc00024f500, 0x7, 0x8, 0x1, 0xc0004310e0, 0x0) /Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:81 +0xd14 github.com/xxjwxc/gormt/data/view/model.(_Model).GetPackage(0xc000375c10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:53 +0x23d github.com/xxjwxc/gormt/data/view/model.(*_Model).generate(0xc000375c10, 0xc00017d030, 0x9) /Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:65 +0x3e github.com/xxjwxc/gormt/data/view/model.Generate(0xc00017d0a0, 0x7, 0xc00017cd9a, 0x5, 0xc00037e900, 0xb, 0x10, 0x10, 0xc, 0xb, ...) /Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:31 +0xc3 github.com/xxjwxc/gormt/data/view/gtools.showCmd() /Users/eric/Downloads/gormt-3.0.3/data/view/gtools/gtools.go:36 +0xb7 github.com/xxjwxc/gormt/data/view/gtools.Execute() /Users/eric/Downloads/gormt-3.0.3/data/view/gtools/gtools.go:21 +0x38 github.com/xxjwxc/gormt/data/cmd.glob..func1(0x1b39260, 0xc00030b540, 0x0, 0x1) /Users/eric/Downloads/gormt-3.0.3/data/cmd/cmd.go:30 +0x20 github.com/spf13/cobra.(*Command).execute(0x1b39260, 0xc0000c4030, 0x1, 0x1, 0x1b39260, 0xc0000c4030) /Users/eric/GoProject/GoResource/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 +0x2aa github.com/spf13/cobra.(*Command).ExecuteC(0x1b39260, 0x0, 0x0, 0x0) /Users/eric/GoProject/GoResource/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb github.com/spf13/cobra.(*Command).Execute(...) /Users/eric/GoProject/GoResource/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864 github.com/xxjwxc/gormt/data/cmd.Execute() /Users/eric/Downloads/gormt-3.0.3/data/cmd/cmd.go:38 +0x2d main.main() /Users/eric/Downloads/gormt-3.0.3/main.go:6 +0x20
The text was updated successfully, but these errors were encountered:
你看错误说明:需要在 https://github.com/xxjwxc/gormt/blob/master/data/view/cnf/def.go 中添加:int unsigned 类型的支持
Sorry, something went wrong.
好的,谢谢
ok,欢迎PR 添加完善类型。
No branches or pull requests
panic: type (int unsigned) not match in any way.maybe need to add on (https://github.com/xxjwxc/gormt/blob/master/data/view/cnf/def.go)
goroutine 1 [running]:
github.com/xxjwxc/gormt/data/view/model.getTypeName(0xc000392c14, 0xc, 0x1607886, 0x1)
/Users/eric/Downloads/gormt-3.0.3/data/view/model/common.go:51 +0x218
github.com/xxjwxc/gormt/data/view/model.(_Model).genTableElement(0xc000375c10, 0xc00024f500, 0x7, 0x8, 0x1, 0xc0004310e0, 0x0)
/Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:81 +0xd14
github.com/xxjwxc/gormt/data/view/model.(_Model).GetPackage(0xc000375c10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:53 +0x23d
github.com/xxjwxc/gormt/data/view/model.(*_Model).generate(0xc000375c10, 0xc00017d030, 0x9)
/Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:65 +0x3e
github.com/xxjwxc/gormt/data/view/model.Generate(0xc00017d0a0, 0x7, 0xc00017cd9a, 0x5, 0xc00037e900, 0xb, 0x10, 0x10, 0xc, 0xb, ...)
/Users/eric/Downloads/gormt-3.0.3/data/view/model/model.go:31 +0xc3
github.com/xxjwxc/gormt/data/view/gtools.showCmd()
/Users/eric/Downloads/gormt-3.0.3/data/view/gtools/gtools.go:36 +0xb7
github.com/xxjwxc/gormt/data/view/gtools.Execute()
/Users/eric/Downloads/gormt-3.0.3/data/view/gtools/gtools.go:21 +0x38
github.com/xxjwxc/gormt/data/cmd.glob..func1(0x1b39260, 0xc00030b540, 0x0, 0x1)
/Users/eric/Downloads/gormt-3.0.3/data/cmd/cmd.go:30 +0x20
github.com/spf13/cobra.(*Command).execute(0x1b39260, 0xc0000c4030, 0x1, 0x1, 0x1b39260, 0xc0000c4030)
/Users/eric/GoProject/GoResource/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 +0x2aa
github.com/spf13/cobra.(*Command).ExecuteC(0x1b39260, 0x0, 0x0, 0x0)
/Users/eric/GoProject/GoResource/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
/Users/eric/GoProject/GoResource/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/xxjwxc/gormt/data/cmd.Execute()
/Users/eric/Downloads/gormt-3.0.3/data/cmd/cmd.go:38 +0x2d
main.main()
/Users/eric/Downloads/gormt-3.0.3/main.go:6 +0x20
The text was updated successfully, but these errors were encountered: