orm

package
v0.0.0-...-8e3e671 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package orm provides `GORM` helpers for the creation, migration and access on the project's database

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ORM

type ORM struct {
	DB *gorm.DB
}

ORM struct to holds the gorm pointer to db

func Factory

func Factory() (*ORM, error)

Factory creates a db connection with the selected dialect and connection string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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