compare

package
v0.2.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Compare

func Compare(c *gin.Context)

func GetMediaName

func GetMediaName(desUrl string) string

func GetScore

func GetScore(src, des string) float64

func GetSimCount

func GetSimCount(src, des string) int

func InitJieBa

func InitJieBa()

func MinHash

func MinHash(c *gin.Context)

Types

type CompareData

type CompareData struct {
	Url string `json:"url"`
	Src string `json:"src"`
	Des string `json:"des"`
}

type HashData

type HashData struct {
	Content string `json:"content"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL