fix: fix lint issue

This commit is contained in:
dudaodong committed 2022-12-10 16:41:40 +08:00
1 parent 2725575d2f
commit 13bbe19ab2
17 files changed
+142 -98

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ func Intersect[K comparable, V any](maps ...map[K]V) map[K]V {
return m
}
reduceMaps := make([]map[K]V, 2, 2)
reduceMaps := make([]map[K]V, 2)
result = reducer(maps[0], maps[1])
for i := 2; i < len(maps); i++ {