Documentation ¶ Index ¶ func KeyAttribute(keys []string) ([]string, map[string]map[string]string) func Match(pattern []string, value string) bool func ParseTime(str string, loc *time.Location) (time.Time, error) func ParseTimeSpan(span string, now time.Time) (time.Time, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func KeyAttribute ¶ added in v0.3.0 func KeyAttribute(keys []string) ([]string, map[string]map[string]string) KeyAttribute handle string, it like key:attr1=xxx:attr2=yyy func Match ¶ func Match(pattern []string, value string) bool func ParseTime ¶ added in v0.3.0 func ParseTime(str string, loc *time.Location) (time.Time, error) func ParseTimeSpan ¶ func ParseTimeSpan(span string, now time.Time) (time.Time, error) Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.