Commit Graph

8 Commits

Author SHA1 Message Date
Giau. Tran Minh
f5e937daa9 fix: run wire with -mod=mod (#353)
* fix: run wire with -mod=mod

* chore: update test with mod flag
2022-05-26 22:31:39 -07:00
Robert van Gent
8b20581338 all: update record/replay files for new version of go (#310) 2021-08-30 13:35:47 -07:00
Luca Steeb
a58291c0b8 internal/wire: use full go run command in go:generate comment (#268)
Change the go:generate command to use the full go run ... command
to ensure the version specified in the current go module is used
instead of the global binary.

Fixes #160
2021-01-25 17:55:11 -08:00
ajjensen13
4d5ab743af internal/wire: copy doc comment for generated injectors (#254)
Fixes #244
2020-06-11 08:06:02 -07:00
shantuo
e9e631cd71 Bind: takes a pointer for the second argument (#152) 2019-04-12 23:50:45 -07:00
shantuo
65ae46b7ea internal/wire: support specifying struct fields to inject (#147)
Added wire.Struct function and deprecate old form.

Updates #36
2019-03-28 09:00:20 -07:00
Ross Light
30574010a0 Update import path and mirror project docs 2018-11-13 13:16:46 -08:00
Robert van Gent
2c50843322 wire: add an example and document how to use wire with mocks (google/go-cloud#488) 2018-11-13 13:16:46 -08:00