csv

package
v2.14.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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 WithSentNotifToSlack added in v2.11.7

func WithSentNotifToSlack(sent bool, channel ...string) 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