moption

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *Options)

func WithCommonOptions

func WithCommonOptions(commonOptions option.Options) Option

func WithLoadOptions

func WithLoadOptions(loadOptionSlice []loption.Option) Option

func WithTransaction

func WithTransaction(tx *sql.Tx) Option

type Options

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

func NewOptions

func NewOptions(options ...Option) *Options

func (*Options) Apply

func (o *Options) Apply(opts ...Option)

func (*Options) GetCommonOptions

func (o *Options) GetCommonOptions() option.Options

func (*Options) GetLoadOptions

func (o *Options) GetLoadOptions() []loption.Option

func (*Options) GetTransaction

func (o *Options) GetTransaction() *sql.Tx

Jump to

Keyboard shortcuts

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