You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make generate works but then causes make server to fail with : "main.go:18:2: import "github.com/GoAdminGroup/example/tables" is a program, not an importable package" #6
Activity
joe-getcouragenow commentedon Sep 8, 2020
So the fix is:
rename packages in tables to be "tables": https://github.com/GoAdminGroup/example/tree/master/tables
and in tables.go: https://github.com/GoAdminGroup/example/blob/master/tables/tables.go#L20
rename this
These changes have to happen in the generator though at: https://github.com/GoAdminGroup/go-admin/blob/master/adm/generate.go
"packageName" is the variable: https://github.com/GoAdminGroup/go-admin/blob/master/adm/generate.go#L69
brookyu commentedon Sep 20, 2020
i'm having the same problem here, what can we do locally?