# Packages

No description provided by the author
Package structs contains various utilities functions to work with structs.
Package uuid provides RFC4122 UUIDs.
Package version implements semantic version according to semver.org 2.0.0 specs More details about semver you can see at http://semver.org/ The package can also process and compare version ranges (^1.2.3, ~1.2.3, *).

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FirstDayOfISOWeek returns the date of the Monday in the given week/year.
No description provided by the author
IsBitstring check if the string is a bit string.
IsDialString validates the given string for usage with the various Dial() functions.
IsDNSName will validate the given string as a DNS name.
IsEmailFormat checks if the string is a valid email address format.
IsFilePath check is a string is Win or Unix file path and returns it's type.
IsFloat check if the string is a float.
IsHexadecimal check if the string is a hexadecimal number.
IsInt check if the string is an integer.
IsIP checks if a string is either IP version 4 or 6 using the net package parser.
IsIPInRange returns true if checkIP is in any of the specified ips or cidr ranges from rangeIPs.
IsNull check if the string is null.
IsPhoneNumberFormat checks if the string is a valid phone number format.
IsPointer checks if given interface is a pointer.
IsPort checks if a string represents a valid port.
IsSimpleType checks if given t ype is a simple Go type.
IsTruthy checks if the given input is a value that can mean true or false.
No description provided by the author
IsValidEmailHost tries to do a SMTP connection on the email host to validate if it's a valid email address or not.
No description provided by the author
Matches check if string matches the pattern (pattern is regular expression) In case of error return false.
No description provided by the author
RandomString returns a new random string of the standard length, consisting of standard characters.
RandomStringLen returns a new random string of the provided length (0 < len < MaxLen), consisting of standard characters.
SplitEmailToAccountAndDomain splits an email address into account name and hostname.
TimeAgo takes a time input and returns a string representation of how much time elapsed since the given time.
ToStringSlice converts the int slice to a string slice.
TrimAndLower returns a lowercase representation of the input.
Truthy converts string values to their boolean representations.
No description provided by the author
No description provided by the author
No description provided by the author
WorkingDays returns the number of working days between the two dates.

# Constants

MaxLen is the maximum length possible for generated strings.
StdLen is the minimum string length required to achieve ~95 bits of entropy.
Unix is *nix OS types.
Unknown is unresolved OS type.
Win is Windows type.

# Variables

StdChars is a set of standard characters allowed in Base64 string.

# Structs

ISO3166Entry stores country codes.

# Type aliases

No description provided by the author
No description provided by the author