package
module
Version:
v0.0.16
Opens a new window with list of versions in this module.
Published: Nov 9, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
func GetConf(name string) interface{}
GetConf 获取配置
func Inject(instance interface{})
Inject 注入配置
func IsConf(instance interface{}) bool
type ConfigInterface interface {
ConfigName() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.