Description

View executes a function within the context of a managed read-only transaction. Any error that is returned from the function is returned from the View() method.

Attempting to manually rollback within the function will cause a panic.

View is referenced in 322 repositories

github.com/boltdb/bolt github.com/schollz/find github.com/Zandrr/heketi

...