db

package
v0.0.0-...-0b7230a Latest Latest
Warning

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

Go to latest
Published: May 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppConnection

func AppConnection()

AppConnection -> method to create connection for application

func Connection

func Connection()

Connection -> create connection with credentials

func DropAllTable

func DropAllTable()

DropAllTable -> method to drop all database table (using this only for testing)

func GetDB

func GetDB() *gorm.DB

GetDB -> method to get connection instance

func SeedConnection

func SeedConnection()

SeedConnection is method to create connection for seeder

func TestConnection

func TestConnection()

TestConnection -> method to create connection for application testing

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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