db

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Db

type Db interface {
	Get(key string) any
	Put(key string, value any) bool
	Delete(key string) bool
	List(prefix string) []any
}

Db is a key-value store

var Instance Db = diskDb(filepath.Join(os.Getenv("HOME"), ".kitproj", "sim", "db"))

Jump to

Keyboard shortcuts

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