Documentation
¶
Index ¶
Constants ¶
View Source
const ( B = 1 KB = 1024 * B MB = 1024 * KB GB = 1024 * MB )
View Source
const ( TimeFormatSecond = "2006-01-02 15:04:05" TimeFormatMinute = "2006-01-02 15:04" TimeFormatDateV1 = "2006-01-02" TimeFormatDateV2 = "2006_01_02" TimeFormatDateV3 = "20060102150405" TimeFormatDateV4 = "2006/01/02 - 15:04:05.000" )
Variables ¶
This section is empty.
Functions ¶
func Ext ¶
Ext returns the file name extension used by path. The extension is the suffix beginning at the final dot in the final slash-separated element of path; it is empty if there is no dot.
func GetTodayUnix ¶
func GetTodayUnix() int64
func ParseCmdArguments ¶
Types ¶
type Disk ¶
type Os ¶
Click to show internal directories.
Click to hide internal directories.