exec

package
v0.4.12 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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