Wire is a code generation tool that automates connecting components using dependency injection.
go install github.com/google/wire/cmd/wire@latestand ensuring that $GOPATH/bin is added to your $PATH.
wire gen ./...Wire is a code generation tool that automates connecting components using dependency injection.
go install github.com/google/wire/cmd/wire@latestand ensuring that $GOPATH/bin is added to your $PATH.
wire gen ./...