Documentation ¶
Index ¶
- Variables
- func CalcMd5(data string) string
- func CalcSHA1(data string) string
- func CalcSHA256(data string) string
- func CalcSHA512(data string) string
- func Itertools(prefix_length int, char []rune) []string
- func SingleLine(data string) string
- func ZipFile(destinationZip string, sourceFile ...File) error
- type File
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []rune{
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
'/', '{', '}', '_', '-', '.', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '=', '+', '[', ']', '\\', '|', ';', ':', '\'', '"', '<', '>', ',', '?', '`', '~',
}
View Source
var Char = []rune{
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
}
View Source
var CharUpper = []rune{
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
}
View Source
var Charlower = []rune{
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
}
View Source
var Num = []rune{
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
}
View Source
var Special = []rune{
'/', '{', '}', '_', '-', '.', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '=', '+', '[', ']', '\\', '|', ';', ':', '\'', '"', '<', '>', ',', '?', '`', '~',
}
Functions ¶
func CalcSHA256 ¶
func CalcSHA512 ¶
func SingleLine ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.