Documentation ¶
Index ¶
- func A() *zap.SugaredLogger
- func AppendApiPrefix(listPrefix ...string)
- func AppendSkipPath(listPath ...string)
- func AppendSkipPrefix(listPrefix ...string)
- func CheckPathIsSkip(target string) bool
- func CheckPrefixIsApi(target string) bool
- func CheckPrefixIsSkip(target string) bool
- func I() *zap.SugaredLogger
- func InitByViper() error
- func MockInit()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendApiPrefix ¶
func AppendApiPrefix(listPrefix ...string)
AppendApiPrefix
not dot append too much item
func AppendSkipPath ¶
func AppendSkipPath(listPath ...string)
func AppendSkipPrefix ¶
func AppendSkipPrefix(listPrefix ...string)
AppendSkipPrefix
not dot append too much item
func CheckPathIsSkip ¶
func CheckPrefixIsApi ¶
func CheckPrefixIsSkip ¶
func InitByViper ¶
func InitByViper() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.