util/init.go

51 lines
811 B
Go
Raw Normal View History

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 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-07-17 15:51:53 +08:00
// Calculate ...
Calculate *calculate
// Project ...
2023-03-30 14:49:38 +08:00
Project *project
2023-08-10 11:57:09 +08:00
// Array 数组操作
2023-03-30 14:49:38 +08:00
Array *array
2023-02-11 21:14:57 +08:00
// JWT ...
JWT *ownJwt
2023-04-04 16:26:02 +08:00
// Console 控制台输出数据
Console *console
2023-07-01 23:30:50 +08:00
// PinYin 汉字转拼音
PinYin *pinYin
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 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-07-17 15:51:53 +08:00
Calculate = &calculate{}
2023-03-30 14:49:38 +08:00
Project = &project{}
Array = &array{}
2023-02-11 21:14:57 +08:00
JWT = &ownJwt{}
2023-04-04 16:26:02 +08:00
Console = &console{}
2023-07-01 23:30:50 +08:00
PinYin = &pinYin{}
2022-05-14 14:27:40 +08:00
}