Commit d16f20ae authored by Steven Allen's avatar Steven Allen

remove io.Closer from the transaction interface

Transactions shouldn't have to implement Close.
parent 3f52705c
......@@ -171,7 +171,8 @@ type TTLDatastore interface {
// Commit has been made. Likewise, transactions can be aborted by calling
// Discard before a successful Commit has been made.
type Txn interface {
Datastore
Read
Write
// Commit finalizes a transaction, attempting to commit it to the Datastore.
// May return an error if the transaction has gone stale. The presence of an
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment