package
1.7.9
Repository: https://github.com/eliaskioni/goflow.git
Documentation: pkg.go.dev

# Functions

DateFromString returns a date constructed from the passed in string, or an error if we are unable to extract one.
DateTimeFromString returns a datetime constructed from the passed in string, or an error if we are unable to extract one.
DeriveCountryFromTel attempts to derive a country code (e.g.
IsPossibleLocationPath returns whether the given string could be a location path.
NewEnvironmentBuilder creates a new environment builder.
NewLocale creates a new locale.
NewLocation creates a new location object.
NewLocationHierarchy cretes a new location hierarchy.
No description provided by the author
ParseLanguage returns a new Language for the passed in language string, or an error if not found.
ReadEnvironment reads an environment from the given JSON.
ReadLocationHierarchy reads a location hierarchy from the given JSON.
TimeFromString returns a time of day constructed from the passed in string, or an error if we are unable to extract one.

# Constants

standard date and time formats.
standard date and time formats.
standard date and time formats.
No description provided by the author
No description provided by the author
No description provided by the author
standard date and time formats.
standard date and time formats.
standard date and time formats.
standard date and time formats.

# Variables

DefaultNumberFormat is the default number formatting, e.g.
NilCountry represents our nil, or unknown country.
NilLanguage represents our nil, or unknown language.
No description provided by the author
ZeroDateTime is our uninitialized datetime value.

# Structs

EnvironmentBuilder is a builder for environments.
Locale is the combination of a language and country, e.g.
Location represents a single Location.
LocationHierarchy is a hierarical tree of locations.
NumberFormat describes how numbers should be parsed and formatted.

# Interfaces

Environment defines the environment that the Excellent function is running in, this includes the timezone the user is in as well as the preferred date and time formats.
LocationResolver is used to resolve locations from names or hierarchical paths.

# Type aliases

Country is a ISO 3166-1 alpha-2 country code.
DateFormat a date format string.
Language is our internal representation of a language.
LocationLevel is a numeric level, e.g.
LocationPath is a location described by a path Country > State ...
No description provided by the author
TimeFormat a time format string.