feat: new put implementation

This commit is contained in:
2026-04-04 00:13:50 +02:00
parent 322d71f0be
commit 05b633afca
7 changed files with 111 additions and 67 deletions

View File

@@ -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)
}