lib

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSet

func BuildSet[T comparable](slice []T) map[T]bool

func Difference

func Difference[T comparable](slices ...[]T) []T

func Intersect

func Intersect[T comparable](slices ...[]T) []T

func Mapper

func Mapper[T any, O any](slice []T, mapper func(thing T) O) []O

func ParseRow

func ParseRow[T any](row *sql.Row) (*T, error)

func ParseRows

func ParseRows[T any](rows *sql.Rows) ([]T, error)

func ParseVal

func ParseVal[T any](row *sql.Row) (T, error)

func StructFieldPointers

func StructFieldPointers(T any) []any

Types

This section is empty.

Jump to

Keyboard shortcuts

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