Open Nghiait123456 opened 2 years ago
![Uploading Screenshot from 2022-09-14 10-58-07.png…]()
@766800551
please share me name of this plugin. i use golang ide of jetbrain and i don't find packet recommended
@766800551 please share me name of this plugin. i use golang ide of jetbrain and i don't find packet recommended
The name of the plugin is go-wire-util
oh, something went wrong, i used it but not auto recommended, if i call form other file in same packet, ide dont find defind, still error: "Cannot find declaration to go to"
@766800551 i used it, but packet only suggest link from in wire_gen to other, don't have link from other to wire_gen.go
error: ""Cannot find declaration to go to""
//go:generate go run github.com/google/wire/cmd/wire
//go:build !wireinject
// +build !wireinject
this line was blocked for ide go to define code in wire_gen.go
I have main
i have wire.go :
and wire_gen.go
every run success but, JetBrain Ide show error "Cannot find declaration to go to" in file wire_gen.go. Is there any way for this problem . Thanks all.