Documentation ¶
Index ¶
- func Big5ToUTF8(s string) ([]byte, error)
- func EscapeJson(s string) string
- func GBKToUTF8(s string) ([]byte, error)
- func InStringSlice(slice []string, element string) bool
- func Md5(str string) string
- func PanicToError(f func()) (err error)
- func PanicTrace(err interface{}) string
- func RandAuthToken() string
- func RandNumber(max int) int
- func RandomString(n int64) string
- func ReplaceStrings(s string, old []string, replace []string) string
- func UTF8ToBig5(s string) ([]byte, error)
- func UTF8ToGBK(s string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InStringSlice ¶
func RandAuthToken ¶
func RandAuthToken() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.