aboutsummaryrefslogtreecommitdiff
path: root/bolt.go
diff options
context:
space:
mode:
Diffstat (limited to 'bolt.go')
-rw-r--r--bolt.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/bolt.go b/bolt.go
index 538c5a9..f456582 100644
--- a/bolt.go
+++ b/bolt.go
@@ -5,16 +5,6 @@ import (
"os"
)
-// Open creates and opens a database at the given path.
-// If the file does not exist then it will be created automatically.
-func Open(path string, mode os.FileMode) (*DB, error) {
- db := &DB{}
- if err := db.Open(path, mode); err != nil {
- return nil, err
- }
- return db, nil
-}
-
// ErrorList represents a slice of errors.
type ErrorList []error