Closed
Description
We should be able to add multiple callbacks for each hook:
type InjectorOpts struct {
HookAfterRegistration []func(scope *Scope, serviceName string)
HookAfterShutdown []func(scope *Scope, serviceName string)
Logf []func(format string, args ...any)
}
instead of
type InjectorOpts struct {
HookAfterRegistration func(scope *Scope, serviceName string)
HookAfterShutdown func(scope *Scope, serviceName string)
Logf func(format string, args ...any)
}
Requirement for #70
Metadata
Metadata
Assignees
Labels
No labels