Skip to content

v0.4.0

Compare
Choose a tag to compare
@zombiezen zombiezen released this 11 Dec 18:20

New Features

  • FieldsOf provides a pointer type to the field as well as the actual field type for pointers to structs (#208)
  • A new --output_file_prefix flag permits changing the name of the outputted file (#192)

Bug Fixes

  • Use go/token to determine whether names are keywords (#203)
  • Wire no longer panics when wire.Struct is 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)