Robert van Gent
Robert van Gent
Thanks for the suggestion! `wire` generally does not work well with multiple providers of the same type: https://github.com/google/wire/blob/master/docs/faq.md#what-if-my-dependency-graph-has-two-dependencies-of-the-same-type I suspect you're best off writing a single constructor that takes the...
> What I would like to achieve is a git pre-commit hook > that would prevent committing when wire.go and wire_gen.go > no longer match Can you use `wire diff`...
What is the dev expected to do if the pre-commit hook fails? It seems like they'd need to install Wire to fix the problem anyway, no? Also, note that the...
@shantuo can you take a look?
A provider is just a function no? From the `README`, "a function that can produce a value". It seems like `wire.Build` should therefore accept various forms of such functions to...
I'm hoping to fix the panic for this sprint; adding real support for this is a separate discussion.
google/go-cloud#724 fixed the panic and recorded the current error. Deferring till next sprint for more work.
My proposal is to: -- Move the code that implements `wire show` (using `Load` but then doing a bunch of processing on top of it) from `cmd/wire/main.go` into `wire.go`. The...
OK let's decide on #12 before moving ahead here then, since I think the right way to test `Load` depends on whether we expose it publicly.
Hi @jeroenrinzema -- Have you looked at the [Go Cloud Development Kit](https://github.com/google/go-cloud)? We also have an [abstraction for pubsub](https://godoc.org/gocloud.dev/pubsub), with implementations for several different pubsub providers (currently AWS SNS/SQS, Azure...