gormkit

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Export

type Export struct {
	// contains filtered or unexported fields
}

func New

func New(db *gorm.DB, config ...exportkit.ExportConfig) *Export

New 创建一个导出对象

func (*Export) BeforeFinalize

func (e *Export) BeforeFinalize(callback exportkit.Callback)

BeforeFinalize 设置最终处理回调函数

func (*Export) Execute

func (e *Export) Execute(et exportkit.ExportType, f io.Writer) error

Execute 执行导出

func (*Export) OnInitColumn

func (e *Export) OnInitColumn(callback exportkit.Callback)

OnInitColumn 设置初始化的回调函数

func (*Export) SetHeader

func (e *Export) SetHeader(header map[string]string)

Jump to

Keyboard shortcuts

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