clientv3/txn.go : removed the TODO: add a Do for shortcut the txn without any condition
parent
017ea3df50
commit
fcaa509e4c
|
@ -49,8 +49,6 @@ type Txn interface {
|
||||||
|
|
||||||
// Commit tries to commit the transaction.
|
// Commit tries to commit the transaction.
|
||||||
Commit() (*TxnResponse, error)
|
Commit() (*TxnResponse, error)
|
||||||
|
|
||||||
// TODO: add a Do for shortcut the txn without any condition?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type txn struct {
|
type txn struct {
|
||||||
|
|
Loading…
Reference in New Issue