mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
improve package ghash
This commit is contained in:
@ -24,7 +24,7 @@ func BinVersion() string {
|
||||
if binaryVersion == "" {
|
||||
binaryContent, _ := ioutil.ReadFile(selfPath)
|
||||
binaryVersion = strconv.FormatInt(
|
||||
int64(ghash.BKDRHash(binaryContent)),
|
||||
int64(ghash.BKDR(binaryContent)),
|
||||
36,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user