datastore

package
v0.0.0-...-2a11bd6 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package datastore creates an ORM connection to the databse and persistence layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDSN

func FormatDSN(dbConfig *config.Database) string

FormatDSN creates the datastore name string for database connections

func NewMySQLGormDb

func NewMySQLGormDb(dbConfig *config.Database) (*gorm.DB, error)

NewMySQLGormDb creates new database connection to a mysql database

Types

This section is empty.

Jump to

Keyboard shortcuts

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