i am learning google/wire with official tutorial, i can generate wire_gen.go file with wire command, but got erro :"undefined: InitializeEvent" when i start build using goland.
i am learning google/wire with official tutorial, i can generate wire_gen.go file with wire command, but got erro :"undefined: InitializeEvent" when i start build using goland.
if exec commond "go build main.go", go don't build wire_gen.go file. so we should use commond "go build" or "go build main.go wire_gen.go", then go will build both main.go and wire_gen.go.