2022-05-14 14:27:40 +08:00
|
|
|
// Package util ...
|
|
|
|
//
|
|
|
|
// Description : util ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 2022-05-14 14:22
|
|
|
|
package util
|
|
|
|
|
|
|
|
var (
|
|
|
|
// Cli ...
|
|
|
|
Cli *cli
|
|
|
|
// File ...
|
|
|
|
File *file
|
2022-05-14 14:45:14 +08:00
|
|
|
// Hash ...
|
|
|
|
Hash *hash
|
2022-05-14 14:58:22 +08:00
|
|
|
// IP ...
|
|
|
|
IP *ip
|
2022-05-14 15:05:20 +08:00
|
|
|
// JSON ...
|
|
|
|
JSON *ownJSON
|
2022-05-14 15:11:45 +08:00
|
|
|
// String ...
|
|
|
|
String *stringOperate
|
2022-05-14 15:22:53 +08:00
|
|
|
// Struct ...
|
|
|
|
Struct *ownStruct
|
2022-05-14 15:26:13 +08:00
|
|
|
// Time ...
|
|
|
|
Time *ownTime
|
2022-05-14 15:48:44 +08:00
|
|
|
// URL ...
|
|
|
|
URL *ownURL
|
2022-05-14 14:27:40 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
Cli = &cli{}
|
|
|
|
File = &file{}
|
2022-05-14 14:45:14 +08:00
|
|
|
Hash = &hash{}
|
2022-05-14 14:58:22 +08:00
|
|
|
IP = &ip{}
|
2022-05-14 15:05:20 +08:00
|
|
|
JSON = &ownJSON{}
|
2022-05-14 15:11:45 +08:00
|
|
|
String = &stringOperate{}
|
2022-05-14 15:22:53 +08:00
|
|
|
Struct = &ownStruct{}
|
2022-05-14 15:26:13 +08:00
|
|
|
Time = &ownTime{}
|
2022-05-14 15:48:44 +08:00
|
|
|
URL = &ownURL{}
|
2022-05-14 14:27:40 +08:00
|
|
|
}
|