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
用了最简单的命令 gin-admin-cli gen -d ./ -m RBAC -structs Product
gin-admin-cli gen -d ./ -m RBAC -structs Product
打印报错:
2024-05-10T00:43:54.495+0800 INFO [GEN] Write file: /Users/zhangzexuan/Codes.localized/work.localized/dev-aoni/dev-server/internal/mods/rbac/schema/product.go fatal error: runtime: bsdthread_register error runtime stack: runtime.throw(0x1202a0c, 0x21) /usr/local/go/src/runtime/panic.go:619 +0x81 fp=0x7ff7bfeff1d8 sp=0x7ff7bfeff1b8 pc=0x10293c1 runtime.goenvs() /usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff208 sp=0x7ff7bfeff1d8 pc=0x1026f43 runtime.schedinit() /usr/local/go/src/runtime/proc.go:496 +0xa4 fp=0x7ff7bfeff260 sp=0x7ff7bfeff208 pc=0x102bc84 runtime.rt0_go(0x7ff7bfeff298, 0x3, 0x7ff7bfeff298, 0x0, 0x1000000, 0x3, 0x7ff7bfeff4e0, 0x7ff7bfeff508, 0x7ff7bfeff50b, 0x0, ...) /usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff268 sp=0x7ff7bfeff260 pc=0x1053f94 2024-05-10T00:43:54.509+0800 ERROR [GEN] Failed to exec go imports, err: exit status 2, #file /Users/zhangzexuan/Codes.localized/work.localized/dev-aoni/dev-server/internal/mods/rbac/schema/product.go github.com/gin-admin/gin-admin-cli/v10/internal/actions.(*GenerateAction).write /Users/zhangzexuan/gopath/pkg/mod/github.com/gin-admin/gin-admin-cli/[email protected]/internal/actions/generate.go:207 github.com/gin-admin/gin-admin-cli/v10/internal/actions.(*GenerateAction).generate /Users/zhangzexuan/gopath/pkg/mod/github.com/gin-admin/gin-admin-cli/[email protected]/internal/actions/generate.go:232 github.com/gin-admin/gin-admin-cli/v10/internal/actions.(*GenerateAction).run /Users/zhangzexuan/gopath/pkg/mod/github.com/gin-admin/gin-admin-cli/[email protected]/internal/actions/generate.go:101 github.com/gin-admin/gin-admin-cli/v10/internal/actions.(*GenerateAction).RunWithStruct /Users/zhangzexuan/gopath/pkg/mod/github.com/gin-admin/gin-admin-cli/[email protected]/internal/actions/generate.go:84 github.com/gin-admin/gin-admin-cli/v10/cmd.Generate.func1 /Users/zhangzexuan/gopath/pkg/mod/github.com/gin-admin/gin-admin-cli/[email protected]/cmd/generate.go:104 github.com/urfave/cli/v2.(*Command).Run /Users/zhangzexuan/gopath/pkg/mod/github.com/urfave/cli/[email protected]/command.go:274 github.com/urfave/cli/v2.(*Command).Run /Users/zhangzexuan/gopath/pkg/mod/github.com/urfave/cli/[email protected]/command.go:267 github.com/urfave/cli/v2.(*App).RunContext /Users/zhangzexuan/gopath/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 github.com/urfave/cli/v2.(*App).Run /Users/zhangzexuan/gopath/pkg/mod/github.com/urfave/cli/[email protected]/app.go:309 main.main /Users/zhangzexuan/gopath/pkg/mod/github.com/gin-admin/gin-admin-cli/[email protected]/main.go:47 runtime.main /usr/local/go/src/runtime/proc.go:250 2024-05-10T00:43:54.511+0800 INFO [GEN] Write file: /Users/zhangzexuan/Codes.localized/work.localized/dev-aoni/dev-server/internal/mods/rbac/dal/product.dal.go fatal error: runtime: bsdthread_register error ......
The text was updated successfully, but these errors were encountered:
No branches or pull requests
用了最简单的命令
gin-admin-cli gen -d ./ -m RBAC -structs Product
打印报错:
The text was updated successfully, but these errors were encountered: