Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServiceLocator ¶
type ServiceLocator struct {
// contains filtered or unexported fields
}
func NewServiceLocator ¶
func NewServiceLocator() *ServiceLocator
func (*ServiceLocator) Get ¶
func (s *ServiceLocator) Get(key string) interface{}
Retrieve a dependency by key
func (*ServiceLocator) Store ¶
func (s *ServiceLocator) Store(key string, dep interface{})
Store or map a dependency to a key
Click to show internal directories.
Click to hide internal directories.