Documentation ¶
Index ¶
- func FilterEmptyChar(str string) string
- func Md5(str string) string
- func PadCnSpaceChar(label string, spaces int) string
- func RegexpMatch(text string, pattern string) bool
- func Sha256(s string, isSha3 bool) (string, error)
- func ToInt64(str string) (int64, error)
- func ToPrintJSON(v interface{}) (string, error)
- func ToUint32(str string) uint32
- func UniqueStrings(input []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PadCnSpaceChar ¶
PadCnSpaceChar 使用中文空格为字符串填充
func ToPrintJSON ¶
ToPrintJSON 将结构体转换为适合打印的格式化的 JSON 字符串
func UniqueStrings ¶
UniqueStrings 返回一个新的切片,其中包含原切片中的唯一字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.