diff options
author | Steven Normore <snormore@gmail.com> | 2014-04-11 13:55:14 +0000 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-04-18 21:44:27 -0500 |
commit | fdde1bcb0624ce5232bf0f3226a2f47fd5a24cb3 (patch) | |
tree | b2c9af8e1ed0076c8e0536dcc2f9a53aa811a5e0 /cmd/bolt/import.go | |
parent | initial bench and generate command structure (diff) | |
download | dedo-fdde1bcb0624ce5232bf0f3226a2f47fd5a24cb3.tar.gz dedo-fdde1bcb0624ce5232bf0f3226a2f47fd5a24cb3.tar.xz |
moar bench package
Diffstat (limited to 'cmd/bolt/import.go')
-rw-r--r-- | cmd/bolt/import.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/bolt/import.go b/cmd/bolt/import.go index bcb7d2e..0988f32 100644 --- a/cmd/bolt/import.go +++ b/cmd/bolt/import.go @@ -23,6 +23,11 @@ func Import(path string, input string) { fatal(err) } + // Import all of the buckets. + importBuckets(path, root) +} + +func importBuckets(path string, root []*rawMessage) { // Open the database. db, err := bolt.Open(path, 0600) if err != nil { |