This commit is contained in:
eleksir
2026-03-31 01:32:28 +03:00
14 changed files with 1262 additions and 457 deletions

View File

@@ -44,7 +44,7 @@ func (collection *Collection) Set(key any, value any) {
})
}
// Range apply function f to all keys/values in collection. Retuns immediatly on first error.
// Range apply function f to all keys/values in collection. Returns immediately on first error.
func (collection *Collection) Range(f func(key, value any) bool) {
fn := func(key, value any) bool {
it, ok := value.(item)