db

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 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 Database

type Database struct {
	// contains filtered or unexported fields
}

func OpenDatabase

func OpenDatabase(
	l *zap.Logger,
	appName string,
	coll diface.ICollection,
	cache diface.ICache,
) *Database

func (*Database) Delete

func (db *Database) Delete(id string) (err error)

func (*Database) LoadOrCreateUid

func (db *Database) LoadOrCreateUid(id string) (*model.Dao, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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