func Open(name string) *BoltDB {
	db, err := bolt.Open(name, 0600, nil)
	if err != nil {
		log.Fatalln(err)
	}
	return &BoltDB{db}
}
Open or create a BoltDB database
package repository
import (
	"errors"
	"log"
	"github.com/boltdb/bolt"
)
var (
	ErrorBucketNotExists = errors.New("Bucket Not Exists")
)
type BoltDB struct {
	*bolt.DB
}