remove network code

This commit is contained in:
2023-08-10 14:39:45 +08:00
parent 17efb38b18
commit 8425926115
6 changed files with 0 additions and 476 deletions

20
init.go
View File

@ -14,16 +14,12 @@ var (
File *file
// Hash ...
Hash *hash
// IP ...
IP *ip
// JSON ...
JSON *ownJSON
// String ...
String *stringOperate
// Struct ...
Struct *ownStruct
// URL ...
URL *ownURL
// Map ...
Map *ownMap
// Calculate ...
@ -34,12 +30,8 @@ var (
Array *array
// JWT ...
JWT *ownJwt
// UserAgent ...
UserAgent *userAgent
// Console 控制台输出数据
Console *console
// Browser 浏览器操作实例
Browser *browser
// PinYin 汉字转拼音
PinYin *pinYin
)
@ -48,26 +40,14 @@ func init() {
Cli = &cli{}
File = &file{}
Hash = &hash{}
IP = &ip{}
JSON = &ownJSON{}
String = &stringOperate{}
Struct = &ownStruct{}
URL = &ownURL{}
Map = &ownMap{}
Calculate = &calculate{}
Project = &project{}
Array = &array{}
JWT = &ownJwt{}
UserAgent = &userAgent{
list: defaultUserAgentList,
}
Console = &console{}
Browser = &browser{
commandTable: map[string]string{
"windows": "start",
"darwin": "open",
"linux": "xdg-open",
},
}
PinYin = &pinYin{}
}