database

package
v0.0.0-...-6fa5ef3 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	*gorm.DB
}

DB is a wrapper for a gorm.DB object.

func New

func New(dbname, user, password, host string, port int, ssl bool) (*DB, error)

New opens a connection to the given database.

Jump to

Keyboard shortcuts

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