dbfactory

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs = configset.Set[Config]{
	Default: &Config{
		SlowQueryThreshold: 300 * time.Millisecond,
	},
}

Functions

func New

func New(z *zap.Logger, cfg *Config) (db.DB, error)

func NewTest added in v0.4.0

func NewTest(t *testing.T, objs []sdktypes.Object) db.DB

Types

type Config

type Config = gormkitteh.Config

Jump to

Keyboard shortcuts

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