]> 127.0.0.1 Git - part/.git/commitdiff
fix v0.21.9
authorqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 18 Jan 2023 17:33:50 +0000 (01:33 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 18 Jan 2023 17:33:50 +0000 (01:33 +0800)
sync/Map.go

index b6b8a1c8284bf9f672be5dd687a1a3dfa0c7a667..c1c961cf1d7a0fd633a5fe29b15e64f107e034cf 100644 (file)
@@ -8,7 +8,7 @@ import (
 )
 
 type Map struct {
-       size *atomic.Int64
+       size atomic.Int64
        m    sync.Map
 }