Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Tz = time.Now().Location()
In reality the time zone used here doesn't matter, and it shouldn't cause problems when switching to DST. This is used just so the timezone used will have some correlation with the local one.
Functions ¶
func GetFileType ¶
func IsNewer ¶
Returns true if the file on path a was modified later than the file on path b. If an error is encountered, returns false and the error.
func NormalizeDate ¶
NormalizeDate strips the time part from time.Date leaving only year, month and day.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.