Robert van Gent
Robert van Gent
WDYT about always omitting the `//go:generate wire` line if a header is provided? It seems like a signal that the user is not actually using `go generate` to generate the...
@zombiezen
If you want conditional behavior at compile time, consider using Go's build tags: https://golang.org/pkg/go/build/. I.e., you could use `wire` to produce both configurations, and only include one of them in...
Another idea is to have `wire.Subtract` be a wire directive, used to wrap a `ProviderSet` in a `wire.NewSet` or a `wire.Build`. Use cases might be: 1. I want to make...
@eliben can you add the new owners for this repo?
Thanks for the report. More than likely this is a misconfiguration, but `wire` should give a better error message. * Does this still happen if you upgrade to wire `v0.3.0`...
@josgilmo -- that doesn't seem to have anything to do with this issue, can you please file a new one? https://github.com/google/wire/issues/new
/cc @elegos
That generally means that we opened the file but did not close it.
@shantuo can you take a look? Maybe add a new testcase with this?