dbfake

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: AGPL-3.0 Imports: 19 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

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