Documentation ¶
Index ¶
Constants ¶
View Source
const DBLayout = "2006-01-02T15:04:05.999999999"
DBLayout is a time layout that usually comes from Airbyte database sources
View Source
const DashDayLayout = "2006-01-02"
DashDayLayout is a Day format with dash delimiter of time.Time
View Source
const DayLayout = "20060102"
DayLayout is a Day format of time.Time
View Source
const GolangLayout = "2006-01-02T15:04:05-0700"
GolangLayout is a default golang layout that is returned on String() without formatting
View Source
const Key = "_timestamp"
Key is a default key and format of event timestamp
View Source
const Layout = "2006-01-02T15:04:05.000000Z"
Layout is an ISO date time format. Note: for parsing use time.RFC3339Nano.
View Source
const LogsLayout = "2006-01-02 15:04:05"
LogsLayout is a date time representation for log records prefixes
View Source
const MonthLayout = "200601"
MonthLayout is a Month format of time.Time
Variables ¶
This section is empty.
Functions ¶
func FreezeTime ¶
func FreezeTime()
func MustParseTime ¶
func ParseISOFormat ¶
ParseISOFormat returns time.Time from ISO time string representation
func SetFreezeTime ¶
func ToISOFormat ¶
ToISOFormat returns ISO string representation of input time.Time
func UnfreezeTime ¶
func UnfreezeTime()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.