@@ -17,7 +17,7 @@ type Client interface {
1717 // - retry operation returned nil as error
1818 //
1919 // Warning: if context without deadline or cancellation func than Do can run indefinitely.
20- Do (ctx context.Context , op Operation , opts ... options. DoOption ) error
20+ Do (ctx context.Context , op Operation , opts ... DoOption ) error
2121
2222 // DoTx provide the best effort for execute transaction.
2323 //
@@ -31,7 +31,7 @@ type Client interface {
3131 // If op TxOperation returns nil - transaction will be committed
3232 // If op TxOperation return non nil - transaction will be rollback
3333 // Warning: if context without deadline or cancellation func than DoTx can run indefinitely
34- DoTx (ctx context.Context , op TxOperation , opts ... options. DoTxOption ) error
34+ DoTx (ctx context.Context , op TxOperation , opts ... DoTxOption ) error
3535
3636 // Execute is a simple executor with retries
3737 //
@@ -73,12 +73,12 @@ type (
7373
7474 Session
7575 }
76+ DoOption = options.DoOption
77+ DoTxOption = options.DoTxOption
7678 bothDoAndDoTxOption interface {
77- options. DoOption
78- options. DoTxOption
79+ DoOption
80+ DoTxOption
7981 }
80- DoOption = options.DoOption
81- DoTxOption = options.DoTxOption
8282)
8383
8484func WithIdempotent () bothDoAndDoTxOption {
0 commit comments