Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DigProvide ¶
func DigProvide(constructor interface{}, opts ...dig.ProvideOption) error
DigProvide ...
func ReadConfig ¶
func ReadConfig(v interface{}, path ...string)
ReadConfig 指定配置文件并解析; 未指定配置文件则通过环境变量获取
func StringSliceHas ¶ added in v1.8.0
StringSliceHas ...
Types ¶
Click to show internal directories.
Click to hide internal directories.