utils

package module
v0.0.0-...-bba741c Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: AGPL-3.0 Imports: 8 Imported by: 3

README

utils

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ignore

func Ignore[T any](value T, _ any) T

func Must

func Must[T any](value T, err error) T

func MustOk

func MustOk[T any](value T, ok bool) T

func MustSuccess

func MustSuccess(err error)

func Scan

func Scan(src interface{}, dst interface{}) (err error)

func Validate

func Validate(m interface{}) (err error)

func Value

func Value(m interface{}) (value driver.Value, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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