db

package
v0.0.0-...-e5bbcc4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DolessID = ""

Functions

func FindValue

func FindValue[T any](ctx context.Context, prefix string, predicate func(x *T) bool) (*T, error)

func GetValue

func GetValue[T any](ctx context.Context, prefix string, id string) (*T, error)

func GetValues

func GetValues[T any](ctx context.Context, prefix string) ([]*T, error)

func SetValue

func SetValue(ctx context.Context, key string, val interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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