feat: new put implementation
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
func Example_basic() {
|
||||
table := cuckoo.NewTable[int, string]()
|
||||
|
||||
if err := table.Put(1, "Hello, World!"); err != nil {
|
||||
if _, err := table.Put(1, "Hello, World!"); err != nil {
|
||||
fmt.Println("Put error:", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user