Versions in this module Expand all Collapse all v1 v1.0.0 Jun 20, 2022 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 GinxContainer struct + func NewGinxContainer() *GinxContainer + func (ginx *GinxContainer) Bind(provider ServiceProvider) error + func (ginx *GinxContainer) IsBind(key string) bool + func (ginx *GinxContainer) Make(key string) (interface{}, error) + func (ginx *GinxContainer) MakeNew(key string, params []interface{}) (interface{}, error) + func (ginx *GinxContainer) MustMake(key string) interface{} + func (ginx *GinxContainer) NameList() []string + func (ginx *GinxContainer) 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