dig v0.5.0 Release Notes

Release Date: 2017-06-19 // almost 7 years ago
  • โž• Added

    • ๐Ÿ‘ 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"`
      }
      

    ๐Ÿ›  Fixed

    • Structs compatible with dig.In and dig.Out may now be generated using reflect.StructOf.