Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DUtils = &Utils{}
Functions ¶
This section is empty.
Types ¶
type Utils ¶ added in v1.1.7
type Utils struct{}
func (*Utils) GetRandomNum ¶ added in v1.1.7
GetRandomNum 获取[N,M]之间的随机整数,N<=M
func (*Utils) GetRandomString ¶ added in v1.1.7
GetRandomString 获取偶数位随机字符串
func (*Utils) ReadFileToSlice ¶ added in v1.1.7
ReadFileToSlice 将文件中的所有非空行读入切片
Click to show internal directories.
Click to hide internal directories.