err = db.View(func(tx *bolt.Tx) error {
return tx.ForEach(func(name []byte, _ *bolt.Bucket) error {
fmt.Println(string(name))
return nil
})
})
Created
April 4, 2018 05:30
-
-
Save halink0803/1e075394bd15bd16ae1b294dc85f8964 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment