databasefake

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() database.Store

New returns an in-memory fake of the database.

Types

type FakeDatabase added in v0.13.0

type FakeDatabase interface {
	IsFakeDB()
}

FakeDatabase is helpful for knowing if the underlying db is an in memory fake database. This is only in the databasefake package, so will only be used by unit tests.

Jump to

Keyboard shortcuts

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