data

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close() error

Close closes the database if one of previously created.

func Get

func Get(id int64) (val *string, err error)

func Init

func Init(dir string) error

New initializes the database for a given name.

func Query

func Query(minID int64) ([]string, error)

func SaveAll

func SaveAll(ids []int64) error

func Update

func Update(id int64) (updated bool, 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