package
0.0.0-20230621060000-a82ac3972496
Repository: https://github.com/0x00-ketsu/taskcli.git
Documentation: pkg.go.dev
# Functions
AtArrayPosition finds the position(int) of val in an Array(Slice).
CreateFileIfNotExist creates a file (absoulte path) returns error when failed.
GetDatetimeStart returns the latest time of datetime ex: 2022-01-01 23:59:59.
GetDatetimeStart returns the earliest time of datetime ex: 2022-01-01 00:00:00.
InArray checks is val exists in an Array(Slice).
ParseStrToDate converts string to time.Time with specific format.
RemoveEmptyString removes empty string from string slice.
ToDate converts datetime to date format, which sets hour, min, sec to zero.
WriteToTempFile writes given content to a tmpFile and returns the filename.