View definition

(*Bucket).CreateBucket

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

Description

CreateBucket creates a new bucket at the given key and returns the new bucket. Returns an error if the key already exists, if the bucket name is blank, or if the bucket name is too long. The bucket instance is only valid for the lifetime of the transaction.

CreateBucket is referenced in 22 repositories

github.com/boltdb/bolt github.com/bazil/bazil github.com/bazillion/bazil

...