repository

package
v0.0.0-...-fb8d4f8 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDB

func GetDB() (*sql.DB, error)

GetDB GetDB

Types

type ConnectionType

type ConnectionType int
const (
	ConnectionSQLite  ConnectionType = iota
	ConnectionMongoDB ConnectionType = iota
)

type GetInput

type GetInput struct {
	Type ConnectionType
	Env  *environment.Environment
}

GetInput GetInput

type Repository

type Repository interface {
	Close() error
}

Repository Repository

func Get

func Get(input *GetInput) (repositoryItem Repository, err error)

Get Get

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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