Documentation ¶
Index ¶
- Constants
- func ConvertByte2String(byte []byte, charset Charset) string
- func FindInSlice(keyword string, slice []string) bool
- func GenerateRandomString(upper, lower, number, symbol bool, length int) string
- func Indent(text, prefix string) string
- func ToString(format string, value []byte) string
- type Charset
Constants ¶
View Source
const ( Empty = "" UTF8 = Charset("UTF-8") GB18030 = Charset("GB18030") DefaultFormat = "raw" Base64Format = "base64" HexFormat = "hex" )
Variables ¶
This section is empty.
Functions ¶
func ConvertByte2String ¶
func FindInSlice ¶
func GenerateRandomString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.