New
v0.4.0
New Features
FieldsOfprovides a pointer type to the field as well as the actual field type for pointers to structs (#208)- A new
--output_file_prefixflag permits changing the name of the outputted file (#192)
Bug Fixes
- Use
go/tokento determine whether names are keywords (#203) - Wire no longer panics when
wire.Structis given a non-struct first argument (#219) - Wire no longer emits invalid code for injectors that return their arguments (#222)
- Wire's go.mod no longer includes unused dependencies (#228)