my

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 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 My

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

My SQL

func New

func New(args interface{}) My

New will init a struct

func (My) Args

func (m My) Args() interface{}

Args will return the connection args

func (My) Open

func (m My) 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