Documentation
¶
Index ¶
- Constants
- func Decrypt(key string, cipherText []byte) ([]byte, error)
- func Encrypt(key string, plainText []byte) ([]byte, error)
- func GetIntByRegex(text, key string) (int, bool)
- func GetMultiWriter(split int) io.Writer
- func GetStrByRegex(text, key string) (string, bool)
- func GetStrDataByRegex(text, key string) (string, bool)
- func GetStrQuotByRegex(text, key string) (string, bool)
- func GetXmlByRegex(text, key string) (string, bool)
- func IsNumeric(str string, trim bool) bool
- func KeepNewDateLogFile()
- func RandStr(length int64, mod uint32) string
- func RemoveNewline(str string) string
- func SubStr(s string, max int) string
Constants ¶
View Source
const ( DAY = iota HOUR MINUTE )
View Source
const ( RandomStringModNumberPlusLetter = iota RandomStringModNumberPlusLetterPlusSymbol RandomStringModNumber )
Variables ¶
This section is empty.
Functions ¶
func GetIntByRegex ¶
func GetMultiWriter ¶
func GetStrByRegex ¶
func GetStrDataByRegex ¶
func GetStrQuotByRegex ¶
func GetXmlByRegex ¶
func KeepNewDateLogFile ¶
func KeepNewDateLogFile()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.