How to inject services recursively into struct fields
This guide describes a feature of the github.com/go-nacelle/service
package. See related documentation.
It should be noted that injection does not work recursively. The procedure does not look into the values of non-anonymous fields. If this behavior is needed, it can be performed during a post-injection hook. The following example demonstrates this behavior.
|
|