mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-03-15 05:53:17 +08:00
* rewrite * update submodule * make width height configurable * update dependency * update * update file * update dep * fix basic config layout * update plugin management * more stuff * add blacklist * fix todo * fix windows gethandle * update windows update guide * update windows build guide * include go mod tidy in script * update todo * fix source session * fix text output * add plugin play duration control * fix id diange not working * update todo * update version number
10 lines
122 B
Go
10 lines
122 B
Go
package util
|
|
|
|
import "hash/fnv"
|
|
|
|
func Hash64(s string) uint64 {
|
|
h := fnv.New64()
|
|
h.Write([]byte(s))
|
|
return h.Sum64()
|
|
}
|