How to inject dependencies into composite fields
This guide describes a feature of the github.com/go-nacelle/service
package. See related documentation.
Injection also works on structs containing composite fields. The following example successfully assigns the registered value to the field Child.Base.Service
.
|
|