exec

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthError

type AuthError struct {
	Err error
}

func NewAuthError

func NewAuthError(err error) *AuthError

func (*AuthError) Error

func (r *AuthError) Error() string

func (*AuthError) Unwrap

func (r *AuthError) Unwrap() error

type QueryMany

type QueryMany[T any] struct {
	Sql              string
	Args             []interface{}
	Postprocessors   []func(row *T) (*T, error)
	ProcessBatchSize int
}

func NewQueryMany

func NewQueryMany[T any](q string) *QueryMany[T]

type QueryManyOpt

type QueryManyOpt[T any] func(*QueryMany[T])

func WithArgs

func WithArgs[T any](args ...interface{}) QueryManyOpt[T]

func WithPostProcessors

func WithPostProcessors[T any](fn ...func(row *T) (*T, error)) QueryManyOpt[T]

func WithProcessBatchSize

func WithProcessBatchSize[T any](size int) QueryManyOpt[T]

type QueryMapResult

type QueryMapResult map[string]interface{}

Directories

Path Synopsis
Package scrapper is a generated GoMock package.
Package scrapper is a generated GoMock package.

Jump to

Keyboard shortcuts

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