Documentation
¶
Index ¶
- func GetDBRepo(database entities.DatabaseType) entities.DatabaseRepo
- func GetDownFillContent(database entities.DatabaseType, number int) string
- func GetMySqlConnection() (*sql.DB, error)
- func GetPGConnection() (*pgx.Conn, error)
- func GetSqliteConnection() *sql.DB
- func GetUpFillContent(database entities.DatabaseType, number int) string
- func NewFileSystemRepo(rootFolderPath string, database entities.DatabaseType) entities.FileSystemRepo
- func NewMySqlRepo(db *sql.DB) entities.DatabaseRepo
- func NewPGRepo(conn *pgx.Conn) entities.DatabaseRepo
- func NewSqliteRepo(conn *sql.DB) entities.DatabaseRepo
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 GetPGConnection ¶
func GetSqliteConnection ¶ added in v0.0.6
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 NewSqliteRepo ¶ added in v0.0.6
func NewSqliteRepo(conn *sql.DB) entities.DatabaseRepo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.