Documentation ¶
Index ¶
- Variables
- func CalMatchScores(beMatchedData string, keyword []string) float32
- func CalMatchScoresV2(beMatchedData string, beSplitedData string, matchType string) float32
- func Exist(key string, h map[string]interface{}) bool
- func Exists(keys []string, h map[string]interface{}) bool
- func FormatMap(data map[string]interface{}) string
- func GenRandomBytes(size int) (blk []byte, err error)
- func GetCurrentPath() (string, error)
- func MD5(data []byte) string
- func ParseJson(data []byte) map[string]interface{}
- func ParseJsonV2(reader io.Reader) map[string]interface{}
- func ParseSingerKeyWord(data string) []string
- func ParseSongNameKeyWord(data string) []string
- func ReplaceAll(str string, expr string, replaceStr string) string
- 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 ¶
View Source
var JSON = jsoniter.ConfigCompatibleWithStandardLibrary
Functions ¶
func CalMatchScores ¶
func CalMatchScoresV2 ¶
func GenRandomBytes ¶
func GetCurrentPath ¶
func ParseJsonV2 ¶
func ParseSingerKeyWord ¶
func ParseSongNameKeyWord ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.