package
1.3.2
Repository: https://github.com/0xrawsec/golang-utils.git
Documentation: pkg.go.dev

# Functions

AddDateString Adds a NewDateString to the list of default DateStrings.
NewDateString creates a DateString structure.
Parse attempts to parse a time string with all the knowns DateStrings.

# Constants

ANSICRe regexp for ANSIC format "Mon Jan _2 15:04:05 2006".
RFC1123Re RFC1123 regexp.
RFC1123ZRe RFC1123Z regexp.
RFC3339NanoRe RFC3339Nano regexp.
RFC3339Re RFC3339 regexp.
RFC822Re RFC822 regexp.
RFC822ZRe RFC822 regexp.
RFC850Re RFC850 regexp "Monday, 02-Jan-06 15:04:05 MST".
RubyDateRe regexp for RubyDate format "Mon Jan 02 15:04:05 -0700 2006".
UnixDateRe regexp for UnixDate format "Mon Jan _2 15:04:05 MST 2006".

# Variables

ANSIC DateString.
RFC1123 DateString.
RFC1123Z DateString.
RFC3339 DateString.
RFC3339Nano DateString.
RFC822 DateString.
RFC822Z DateString.
RFC850 DateString.
RubyDate DateString.
UnixDate DateString.

# Structs

DateString structure.
UnknownDateFormatError error.