2
0

chore: change module name after fork

fix: go.mod

chore: change module name after fork
This commit is contained in:
2023-06-02 09:35:05 +03:00
parent 46f4078530
commit 240719dd96
6 changed files with 27 additions and 26 deletions
+3 -3
View File
@@ -1231,7 +1231,7 @@ func TestOnEvicted(t *testing.T) {
t.Fatal("tc.onEvicted is not nil")
}
works := false
tc.OnEvicted(func(k string, v interface{}) {
tc.OnEvicted(func(k string, v any) {
if k == "foo" && v.(int) == 3 {
works = true
}
@@ -1460,7 +1460,7 @@ func BenchmarkRWMutexMapGet(b *testing.B) {
func BenchmarkRWMutexInterfaceMapGetStruct(b *testing.B) {
b.StopTimer()
s := struct{ name string }{name: "foo"}
m := map[interface{}]string{
m := map[any]string{
s: "bar",
}
mu := sync.RWMutex{}
@@ -1474,7 +1474,7 @@ func BenchmarkRWMutexInterfaceMapGetStruct(b *testing.B) {
func BenchmarkRWMutexInterfaceMapGetString(b *testing.B) {
b.StopTimer()
m := map[interface{}]string{
m := map[any]string{
"foo": "bar",
}
mu := sync.RWMutex{}