testing

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestBadgerDB

func NewTestBadgerDB(ctx context.Context, name string, options *badger.Options) (*badger.BadgerDB, func() error, error)

NewTestBadgerDB returns a new badger db for testing it also returns a teardown function, which will remove the db and the directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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