postgre

package
v0.0.0-...-35ea8dd Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postgre

type Postgre struct {
	// contains filtered or unexported fields
}

Postgre SQL

func New

func New(args interface{}) Postgre

New will init a struct

func (Postgre) Args

func (p Postgre) Args() interface{}

Args will return the connection args

func (Postgre) Open

func (p Postgre) Open() (*gorm.DB, error)

Open will build a connection with database

Jump to

Keyboard shortcuts

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