替换 murmur3 库

This commit is contained in:
tursom 2023-08-01 15:49:57 +08:00
parent 69536dc52d
commit a0622c310d
7 changed files with 22 additions and 6 deletions

15
.idea/git_toolbox_prj.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GitToolBoxProjectSettings">
<option name="commitMessageIssueKeyValidationOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
<option name="commitMessageValidationEnabledOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
</component>
</project>

View File

@ -1,10 +1,9 @@
package checksum
import (
"github.com/spaolacci/murmur3"
"hash"
_ "github.com/spaolacci/murmur3"
"github.com/twmb/murmur3"
)
type (

View File

@ -1,8 +1,8 @@
package checksum
import (
"github.com/spaolacci/murmur3"
"github.com/tursom/checksum/assert"
"github.com/twmb/murmur3"
"hash"
"testing"
)

View File

@ -1,8 +1,8 @@
package checksum
import (
"github.com/spaolacci/murmur3"
"github.com/tursom/checksum/assert"
"github.com/twmb/murmur3"
"hash"
"testing"
)

View File

@ -1,8 +1,8 @@
package checksum
import (
"github.com/spaolacci/murmur3"
"github.com/tursom/checksum/assert"
"github.com/twmb/murmur3"
"hash"
"testing"
)

2
go.mod
View File

@ -2,4 +2,4 @@ module github.com/tursom/checksum
go 1.20
require github.com/spaolacci/murmur3 v1.1.0
require github.com/twmb/murmur3 v1.1.8

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/twmb/murmur3 v1.1.8 h1:8Yt9taO/WN3l08xErzjeschgZU2QSrwm1kclYq+0aRg=
github.com/twmb/murmur3 v1.1.8/go.mod h1:Qq/R7NUyOfr65zD+6Q5IHKsJLwP7exErjN6lyyq3OSQ=