Versions in this module Expand all Collapse all v1 v1.0.0 Nov 30, 2021 Changes in this version + 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 HadeContainer struct + func NewHadeContainer() *HadeContainer + func (fcou *HadeContainer) Bind(provider ServiceProvider) error + func (fcou *HadeContainer) IsBind(key string) bool + func (fcou *HadeContainer) Make(key string) (interface{}, error) + func (fcou *HadeContainer) MakeNew(key string, params []interface{}) (interface{}, error) + func (fcou *HadeContainer) MustMake(key string) interface{} + func (fcou *HadeContainer) NameList() []string + func (fcou *HadeContainer) PrintProviders() []string + 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