View definition

(*Bucket).CreateBucketIfNotExists

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

Description

CreateBucketIfNotExists creates a new bucket if it doesn't already exist and returns a reference to it. Returns an error 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.

CreateBucketIfNotExists is referenced in 57 repositories

github.com/boltdb/bolt github.com/compasses/MockXServer github.com/GoWiki/GoWiki

...