Documentation ¶
Index ¶
- Variables
- func AvatarLink(email string, size int) (url string)
- func CheckEmail(email string) (b bool)
- func Compress(files []*os.File, dest string) error
- func DeCompress(zipFile, dest string) error
- func GenPwd(pwd string) string
- func HashEmail(email string) string
- func InitTools()
- func IntToString(s int) string
- func MD5(s string) string
- func SplitIP(ip string) string
- func StartCron()
- func StringToInt(s string) int
- func StringToInt32(s string) (int32, error)
- func StringToMonth(s string) time.Month
Constants ¶
This section is empty.
Variables ¶
View Source
var CONTEST_PRO_KEY = map[int]string{
0: "A",
1: "B",
2: "C",
3: "D",
4: "E",
5: "F",
6: "G",
7: "H",
8: "I",
9: "J",
10: "K",
11: "L",
12: "M",
13: "N",
14: "O",
15: "P",
16: "Q",
17: "R",
18: "S",
19: "T",
20: "U",
21: "V",
22: "W",
23: "X",
24: "Y",
25: "Z",
}
View Source
var LANGUAGE_MAP = map[int]string{
1: "C/C++",
3: "Java",
6: "Python",
17: "Go",
}
Functions ¶
func AvatarLink ¶
func CheckEmail ¶
func IntToString ¶
func StringToInt ¶
func StringToInt32 ¶
func StringToMonth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.