factory

package
v0.0.0-...-5d22fbd Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingParameter = errors.New("missing parameter")
	ErrNotImplemented   = errors.New("not implemented")
)

Functions

func NewDatabaseController

func NewDatabaseController(name DatabaseType, definitions, baseEntities []database.DocumentBase, param ...any) database.DatabaseController

Types

type DatabaseType

type DatabaseType string
const (
	Mongo DatabaseType = "Mongo"
	Test  DatabaseType = "Test"
)

type MongoConfig

type MongoConfig struct {
	mg.Config
}

Jump to

Keyboard shortcuts

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