Documentation ¶
Overview ¶
Package parsers contains various text parser utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDates ¶
func ParseDates(dateFormat, startDate, endDate string) (startDateParsed, endDateParsed time.Time, err error)
ParseDates converts two strings to time.Time() format using the provided date format. In case of any error or if any input string is empty, error object is returned together with "null" dates.
func ParseRuleSelector ¶ added in v1.14.0
ParseRuleSelector function parses the rule selector which consists of component name and error key separaed by "|" character.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.