Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalInit ¶
GlobalInit is the initialization function that runs BEFORE all injectors. It loads shared data that will be available to all injectors via InitData().
Types ¶
type InitDeps ¶
type InitDeps struct {
}
InitDeps contains the dependencies that the user needs for Init. The user must define the fields according to their needs.
type InitializedData ¶
type InitializedData struct {
}
InitializedData is the custom struct that contains all the data loaded in Init() and available to all injectors. The user defines the structure according to their needs.
Click to show internal directories.
Click to hide internal directories.