go-nunu / nunu

A CLI tool for building Go applications.

Home Page:https://go-nunu.github.io/nunu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

undefined: newApp

stuchilde opened this issue · comments

➜ k8s_deploy git:(main) ✗ go build cmd/server/main.go

command-line-arguments

cmd/server/main.go:15:23: undefined: newApp

go build error

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 ./...