package tdb // import ( // bolt "go.etcd.io/bbolt" // ) // type Tx is defined in internals type Transaction func(*Tx) error type Transactable interface { ReadTx(Transaction) error WriteTx(Transaction) error }