util

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All added in v0.1.3

func All[T comparable](slice []T, pred func(T) bool) bool

func ContainsSome

func ContainsSome[T comparable](collection []T, candidates ...T) bool

func ScanJSON added in v0.2.0

func ScanJSON(obj, src interface{}) error

ScanJSON is a generic db driver Scan implementation using JSON.

func ValueJSON added in v0.2.0

func ValueJSON(obj interface{}) (driver.Value, error)

ValueJSON is a generic db driver Value implementation using JSON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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