Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefMinInt = 1000 DefMaxInt = 9999 )
Functions ¶
func DataSize ¶
DataSize format bytes number friendly. Usage:
file, err := os.Open(path) fl, err := file.Stat() fmtSize := DataSize(fl.Size())
func MicroTimeID ¶
func MicroTimeID() string
MicroTimeID generate. return like: 16074145697981929446(len: 20)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.