Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSize ¶
DataSize format bytes number friendly. Usage:
file, err := os.Open(path) fl, err := file.Stat() fmtSize := DataSize(fl.Size())
Deprecated
please use fmtutil.DataSize() instead
func HowLongAgo ¶
HowLongAgo format a seconds, get how lang ago Deprecated
please use fmtutil.HowLongAgo() instead
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.