load

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exist

type Exist struct {
	X int
}

type Load

type Load func(ctx context.Context, any interface{}, options ...Option) (int, error)

type Option

type Option func(o *options)

func WithDb

func WithDb(db *sql.DB) Option

type Service

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

func New

func New(c *config.Config, suffix config.Suffix) (*Service, error)

func (*Service) Load

func (s *Service) Load(ctx context.Context, data interface{}, batchID string, options ...loader.Option) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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