undefined: newApp
stuchilde opened this issue · comments
Evan Zhang commented
➜ k8s_deploy git:(main) ✗ go build cmd/server/main.go
command-line-arguments
cmd/server/main.go:15:23: undefined: newApp
go build error
Evan Zhang commented
now, it's ok. i just add log. maybe before it's a cache.
行者 commented
go build ./cmd/server
or
go run ./cmd/server
or
go build cmd/server/main.go cmd/server/wire_gen.go
or
cd cmd/server && go build ./...