Skip to content

v0.5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@glibsm glibsm released this 19 Jun 21:44
· 252 commits to master since this release
  • dig.In and dig.Out now support named instances, i.e.:

    type param struct {
      dig.In
    
      DB1 DB.Connection `name:"primary"`
      DB2 DB.Connection `name:"secondary"`
    }
  • Structs compatible with dig.In and dig.Out may now be generated using
    reflect.StructOf.