Skip to content
New issue

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

启动报错 #627

Open
luobo007 opened this issue Jul 9, 2024 · 1 comment
Open

启动报错 #627

luobo007 opened this issue Jul 9, 2024 · 1 comment

Comments

@luobo007
Copy link

luobo007 commented Jul 9, 2024

$ mkdir new_project && cd new_project
$ go install github.com/GoAdminGroup/adm@latest
$ adm init web
$go run main.go
执行上面命令启动报错:

`PS D:\github\go-admin> go run main.go

github.com/GoAdminGroup/themes/sword/components/card

C:\Users\Lenovo\go\pkg\mod\github.com!go!admin!group\[email protected]\sword\components\card\card.go:63:19: not enough arguments in call to button.Content
have ()
want ("github.com/GoAdminGroup/go-admin/context".Context)
C:\Users\Lenovo\go\pkg\mod\github.com!go!admin!group\[email protected]\sword\components\card\card.go:74:25: not enough arguments in call to c.BindActionTo
have (types.Action, string)
want (
"github.com/GoAdminGroup/go-admin/context".Context, types.Action, string)
C:\Users\Lenovo\go\pkg\mod\github.com!go!admin!group\[email protected]\sword\components\card\card.go:79:25: not enough arguments in call to c.BindActionTo
have (types.Action, string)
want ("github.com/GoAdminGroup/go-admin/context".Context, types.Action, string)
C:\Users\Lenovo\go\pkg\mod\github.com!go!admin!group\[email protected]\sword\components\card\card.go:84:25: not enough arguments in call to c.BindActionTo
have (types.Action, string)
want (
"github.com/GoAdminGroup/go-admin/context".Context, types.Action, string)
C:\Users\Lenovo\go\pkg\mod\github.com!go!admin!group\[email protected]\sword\components\card\card.go:89:25: not enough arguments in call to c.BindActionTo
have (types.Action, string)
want ("github.com/GoAdminGroup/go-admin/context".Context, types.Action, string)
C:\Users\Lenovo\go\pkg\mod\github.com!go!admin!group\[email protected]\sword\components\card\card.go:94:25: not enough arguments in call to c.BindActionTo
have (types.Action, string)
want (
"github.com/GoAdminGroup/go-admin/context".Context, types.Action, string)`

@alvonwong
Copy link

貌似中间还缺乏什么步骤,不太确定是不是go mod问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants