bolthelper.go
func (db DB) View(f func(Tx) error) error {
	return errorsp.WithStacks(db.DB.View(func(tx *bolt.Tx) error {
		return errorsp.WithStacks(f(Tx{tx}))
	}))
}
func (db DB) View(f func(Tx) error) error {
	return errorsp.WithStacks(db.DB.View(func(tx *bolt.Tx) error {
		return errorsp.WithStacks(f(Tx{tx}))
	}))
}
func ( db DB ) View ( f func ( Tx ) error ) error { return errorsp . WithStacks ( db . DB . View ( func ( tx * bolt . Tx ) error { return errorsp . WithStacks ( f ( Tx { tx } ) ) } ) ) }
// View wraps bolt.DB.View.
View wraps bolt . DB . View .