Documentation ¶
Index ¶
- func AddLog(l1 _log.Logger)
- func Ellipsis(str string, length int) string
- func Error(str string, args ...interface{})
- func Fatal(str string, args ...interface{})
- func GetKey(params ...interface{}) string
- func GetLogger(i ...int) _log.Logger
- func Info(str string, args ...interface{})
- func InitLog(lvl log.LogLevel, json, color bool) (err error)
- func Log(field map[string]interface{})
- func PadLeft(str string, l int, p string) string
- func PadRight(str string, l int, p string) string
- func ParseDuration(isoDuration string) time.Duration
- func Repeat(str string, n int) string
- func Thousands(num int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶ added in v0.0.2
ParseDuration parses an ISO 8601 string representing a duration, and returns the resultant golang time.Duration instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.