Documentation ¶
Index ¶
- func AddType(i interface{}) string
- func AddTypeWithKey(i interface{}, keyFunc func(i interface{}) string) string
- func AddTypes(interfaces []interface{})
- func AddTypesWithKey(interfaces []interface{}, keyFunc func(i interface{}) string)
- func CleanRegistry()
- func Create(key string) interface{}
- func CreateSlice(key string) interface{}
- func GetLen(i interface{}) int
- func RegistryLen() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTypeWithKey ¶
AddTypeWithKey add type to registry center with key generator func
func AddTypes ¶
func AddTypes(interfaces []interface{})
AddTypes add multiple types to registry center
func AddTypesWithKey ¶
func AddTypesWithKey(interfaces []interface{}, keyFunc func(i interface{}) string)
AddTypesWithKey add type to registry center with key generator func
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.