creator

package
v1.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Creator

type Creator struct {
	Tx   context.Context // 事务上下文
	Data interface{}     // 保存的数据
}

func New

func New() *Creator

func (*Creator) SetData

func (c *Creator) SetData(data interface{}) *Creator

func (*Creator) SetTx

func (c *Creator) SetTx(tx context.Context) *Creator

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL