Categorygithub.com/basebytes/tools
modulepackage
0.0.2
Repository: https://github.com/basebytes/tools.git
Documentation: pkg.go.dev

# Functions

compute checksum of input data.
create dir.
create dir if not exists.
CurrentDataCompactStr return current date in format yyyyMMdd.
CurrentDateInSeconds return the seconds representation of the current date in local.
CurrentDateStr return current date in format yyyy-MM-dd.
CurrentDateTimeStr return current datetime in format yyyy-MM-dd HH:mm:ss.
CurrentTimeCompactStr return current time in format HHmmss.
DaysBefore return the seconds representation of the start of days before now in local.
deserialize.
deserialize.
deserialize file content.
remove file return false if failed.
remove dirs and files in path return false if failed.
serialize.
serialize.
serialize object to file.
compute checksum of the input file.
return true if file exists.
No description provided by the author
GetTimeInSeconds return the seconds representation of the timeString timeStr in format hhhmmmsss ,e.g.
generate hash uuid of the input data.
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
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
check if UUID is in valid format.
generate random hash uuid.
SplitSeconds return unix timestamp in seconds with two part:begin of a day and the offset.
TimeRingFromDaysAgo return time ring from days ago util next day.
TransTimeFormat Trans time format from hh:mm:ss to hhhmmmsss.If timeString format invalid return itself eg.

# 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

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