util/init.go
2023-03-30 14:50:32 +08:00

57 lines
830 B
Go

// Package util ...
//
// Description : util ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2022-05-14 14:22
package util
var (
// Cli ...
Cli *cli
// File ...
File *file
// Hash ...
Hash *hash
// IP ...
IP *ip
// JSON ...
JSON *ownJSON
// String ...
String *stringOperate
// Struct ...
Struct *ownStruct
// Time ...
Time *ownTime
// URL ...
URL *ownURL
// Map ...
Map *ownMap
// Calculate ...
Calculate *calculate
// Project ...
Project *project
// 数组操作
Array *array
// JWT ...
JWT *ownJwt
)
func init() {
Cli = &cli{}
File = &file{}
Hash = &hash{}
IP = &ip{}
JSON = &ownJSON{}
String = &stringOperate{}
Struct = &ownStruct{}
Time = &ownTime{}
URL = &ownURL{}
Map = &ownMap{}
Calculate = &calculate{}
Project = &project{}
Array = &array{}
JWT = &ownJwt{}
}