Documentation ¶
Index ¶
- func CalMatchScores(beMatchedData string, keyword []string) float32
- func CalMatchScoresV2(beMatchedData string, beSplitedData string, matchType string) float32
- func Combination(WordList []string) (result []string)
- func Exist(key string, h map[string]interface{}) bool
- func Exists(keys []string, h map[string]interface{}) bool
- func GenRandomBytes(size int) (blk []byte, err error)
- func GetCurrentPath() (string, error)
- func LogInterface(i interface{}) string
- func MD5(data []byte) string
- func PanicWrapper(f func())
- func ParseCookies(file string) []*http.Cookie
- func ParseJson(data []byte) map[string]interface{}
- func ParseJsonV2(reader io.Reader) map[string]interface{}
- func ParseJsonV3(data []byte, dest interface{}) error
- func ParseJsonV4(reader io.Reader, dest interface{}) error
- func ParseSingerKeyWord(data string) []string
- func ParseSongNameKeyWord(data string) []string
- func ReplaceAll(str string, expr string, replaceStr string) string
- func ToFixed(num float64, precision int) float64
- func ToJson(object interface{}) string
- func UnGzip(gzipData []byte) ([]byte, error)
- func UnGzipV2(gzipData io.Reader) (io.Reader, error)
- type ByLenSort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalMatchScores ¶
func CalMatchScoresV2 ¶
func Combination ¶
func GenRandomBytes ¶
func GetCurrentPath ¶
func LogInterface ¶
func LogInterface(i interface{}) string
func PanicWrapper ¶
func PanicWrapper(f func())
func ParseCookies ¶
func ParseJsonV2 ¶
func ParseJsonV3 ¶
func ParseJsonV4 ¶
func ParseSingerKeyWord ¶
func ParseSongNameKeyWord ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.