View definition

(*Bucket).ForEach

Defined in github.com/boltdb/bolt/bucket.go

Description

ForEach executes a function for each key/value pair in a bucket. If the provided function returns an error then the iteration is stopped and the error is returned to the caller. The provided function must not modify the bucket; this will result in undefined behavior.

ForEach is referenced in 124 repositories

github.com/boltdb/bolt github.com/speedyhoon/EventBucket github.com/xyproto/simplebolt

...