package
1.0.0
Repository: https://github.com/loremipsumsharp/go-utils.git
Documentation: pkg.go.dev

# Functions

BeginOfDay return beginning hour time of day.
BeginOfHour return beginning hour time of day.
BeginOfMinute return beginning minute time of day.
BeginOfMonth return beginning of month.
BeginOfWeek return beginning week, default week begin from Sunday.
BeginOfYear return the date time at the begin of year.
DateStrToTime convert date string to time.Time.
DatetimeMsStrToTime convert datetime string (nanosecond) to time.Time.
DatetimeNsStrToTime convert datetime string to time.Time.
DatetimeStrToTime convert datetime string (millisecond) to time.Time.
EndOfDay return end time of day.
EndOfHour return end hour time of day.
EndOfMinute return end minute time of day.
EndOfMonth return end of month.
EndOfWeek return end week time, default week end with Saturday.
EndOfYear return the date time at the end of year.
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
No description provided by the author
No description provided by the author
NowDateStr now date string.
NowDatetimeMsStr now datetime string (millisecond).
NowDatetimeNsStr now datetime string (nanosecond).
NowDatetimeStr now datetime string.
NowUnix now timestamp (second).
NowUnixMs now timestamp (millisecond).
NowUnixNs now timestamp (nanosecond).
print func exec time cost.
TimeToDateStr convert time.Time to date string.
TimeToDatetimeMsStr convert time.Time to datetime string (millisecond).
TimeToDatetimeNsStr convert time.Time to datetime string (nanosecond).
TimeToDatetimeStr convert time.Time to datetime string.
TimeToUnix convert time.Time to timestamp (second).
TimeToUnixMs convert time.Time to timestamp (millisecond).
TimeToUnixNs convert time.Time to timestamp (nanosecond).
UnixMsToTime convert timestamp (millisecond) to time.Time.
UnixNsToTime convert timestamp (nanosecond) to time.Time.
UnixToTime convert timestamp (second) to time.Time.

# Constants

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

# Variables

beijing location.
utc location.