Versions in this module Expand all Collapse all v1 v1.0.0 May 6, 2023 Changes in this version + type AnanContainer struct + func NewAnanContainer() *AnanContainer + func (container *AnanContainer) Bind(provider ServiceProvider) error + func (container *AnanContainer) IsBind(key string) bool + func (container *AnanContainer) Make(key string) (interface{}, error) + func (container *AnanContainer) MakeNew(key string, params []interface{}) (interface{}, error) + func (container *AnanContainer) MustMake(key string) interface{} + func (container *AnanContainer) NameList() []string + func (container *AnanContainer) PrintProviders() []string + type Container interface + Bind func(provider ServiceProvider) error + IsBind func(key string) bool + Make func(key string) (interface{}, error) + MakeNew func(key string, params []interface{}) (interface{}, error) + MustMake func(key string) interface{} + type NewInstance func(...interface{}) (interface{}, error) + type ServiceProvider interface + Boot func(Container) error + IsDefer func() bool + Name func() string + Params func(Container) []interface{} + Register func(Container) NewInstance