repo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDBRepo added in v0.0.6

func GetDBRepo(database entities.DatabaseType) entities.DatabaseRepo

func GetDownFillContent added in v0.0.6

func GetDownFillContent(database entities.DatabaseType, number int) string

func GetMySqlConnection added in v0.1.0

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

func GetPGConnection

func GetPGConnection() (*pgx.Conn, error)

func GetSqliteConnection added in v0.0.6

func GetSqliteConnection() *sql.DB

func GetUpFillContent added in v0.0.6

func GetUpFillContent(database entities.DatabaseType, number int) string

func NewFileSystemRepo added in v0.0.2

func NewFileSystemRepo(rootFolderPath string, database entities.DatabaseType) entities.FileSystemRepo

func NewMySqlRepo added in v0.1.0

func NewMySqlRepo(db *sql.DB) entities.DatabaseRepo

func NewPGRepo

func NewPGRepo(conn *pgx.Conn) entities.DatabaseRepo

func NewSqliteRepo added in v0.0.6

func NewSqliteRepo(conn *sql.DB) entities.DatabaseRepo

Types

This section is empty.

Jump to

Keyboard shortcuts

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