csv

package
v2.11.6 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: CC0-1.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewImport

func NewImport(opt ...ImportOptions) *importer

Types

type ImportOptions

type ImportOptions func(reader *importer)

func WithCtx added in v2.11.0

func WithCtx(ctx context.Context) ImportOptions

func WithDataList

func WithDataList(dataList interface{}) ImportOptions

func WithFile

func WithFile(file multipart.File) ImportOptions

func WithProcessFn

func WithProcessFn(fn processFn) ImportOptions

func WithTransaction

func WithTransaction(trx database.Transactions) ImportOptions

Jump to

Keyboard shortcuts

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