jsonfiledb

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 7 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 struct {
	// contains filtered or unexported fields
}

func OpenPath

func OpenPath(fp string) (*DB, bool, error)

OpenPath opens a JSON file database at the given path. If the file does not exist, it is created (as well as all ancestor directories).

func (*DB) ReadTx

func (d *DB) ReadTx() meta.ReadTx

func (*DB) WriteTx

func (d *DB) WriteTx() meta.WriteTx

Jump to

Keyboard shortcuts

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