fix(go): fix go code , refer to @joengtou @wcig @shenjq (#992)

This commit is contained in:
Reanon
2023-12-16 18:52:28 +08:00
committed by GitHub
parent 406eed82a3
commit d0f4fa69a6
3 changed files with 6 additions and 5 deletions
@@ -88,6 +88,7 @@ func (m *hashMapOpenAddressing) put(key int, val string) {
// 若遇到指定 key ,则更新对应 val
if m.buckets[j].key == key {
m.buckets[j].val = val
return
}
}
}