Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FunWrapperWithArgs ¶
func FunWrapperWithArgs(f func(args ...interface{}), args ...interface{}) (err error)
FunWrapperWithArgs 带参数函数 wrapper
Types ¶
type RollbackOp ¶
type RollbackOp struct {
// contains filtered or unexported fields
}
RollbackOp 回滚操作序列
func NewRollbackOp ¶
func NewRollbackOp() *RollbackOp
func (*RollbackOp) Add ¶
func (r *RollbackOp) Add(f func() error)
func (*RollbackOp) Rollback ¶
func (r *RollbackOp) Rollback() (err error)
Click to show internal directories.
Click to hide internal directories.