aboutsummaryrefslogtreecommitdiff
path: root/db.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-01-08 08:06:17 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-01-08 08:06:17 -0700
commitebc9f0da9e0d2fe90a4f9a820114d462fdf13178 (patch)
tree287fb8791e03a70d5959c12dabab4bb25766d713 /db.go
parentNOTES (diff)
downloaddedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.gz
dedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.xz
Basic types.
Diffstat (limited to 'db.go')
-rw-r--r--db.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/db.go b/db.go
new file mode 100644
index 0000000..914cd18
--- /dev/null
+++ b/db.go
@@ -0,0 +1,19 @@
+package bolt
+
+const (
+ NoSync = iota
+ NoMetaSync
+ DupSort
+ IntegerKey
+ IntegerDupKey
+)
+
+type DB interface {
+}
+
+type db struct {
+}
+
+func NewDB() DB {
+ return &db{}
+}