貌似是在 lib 下缺少一些东西
lunatic@LunaticdeMacBook-Pro go-admin-server % make db
go run cmd/migrator/main.go
config/db.go:4:2: package go-app/lib/util is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/util)
boot/db/database.go:6:2: package go-app/lib/database is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/database)
boot/db/database.go:7:2: package go-app/lib/logger is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/logger)
cmd/migrator/main.go:15:2: package go-app/lib/rbac is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/rbac)
make: *** [db] Error 1
貌似是在 lib 下缺少一些东西 lunatic@LunaticdeMacBook-Pro go-admin-server % make db go run cmd/migrator/main.go config/db.go:4:2: package go-app/lib/util is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/util) boot/db/database.go:6:2: package go-app/lib/database is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/database) boot/db/database.go:7:2: package go-app/lib/logger is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/logger) cmd/migrator/main.go:15:2: package go-app/lib/rbac is not in std (/opt/homebrew/Cellar/go/1.21.2/libexec/src/go-app/lib/rbac) make: *** [db] Error 1