package
1.0.5
Repository: https://github.com/jf-tech/omniparser.git
Documentation: pkg.go.dev

# Functions

Coalesce returns the first non-empty string of the input strings.
Concat concatenates a number of strings together.
DateTimeLayoutToRFC3339 parses a 'datetime' string according a given 'layout' and normalizes and returns it in RFC3339 format.
DateTimeToEpoch parses a 'datetime' string intelligently, and returns its epoch number.
DateTimeToRFC3339 parses a 'datetime' string intelligently, normalizes and returns it in RFC3339 format.
EpochToDateTimeRFC3339 translates the 'epoch' timestamp under the given 'unit' into an RFC3339 formatted datetime string in the given timezone 'tz', if specified.
Lower lowers the case of an input string.
Merge merges multiple custom func maps into one.
Now returns the current time in UTC in RFC3339 format.
Upper uppers the case of an input string.
UUIDv3 uses MD5 to produce a consistent/stable UUID for an input string.

# Variables

CommonCustomFuncs contains the most basic and frequently-used custom functions that are suitable for all versions of schemas.

# Interfaces

CustomFuncType is the type of custom function.

# Type aliases

CustomFuncs is a map from custom func names to an actual custom func.