database

package
v0.0.0-...-3e3f2e8 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 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 DataBase

type DataBase struct{}

func (*DataBase) Connect

func (db *DataBase) Connect() (*sqlx.DB, error)

type IDataBase

type IDataBase interface {
	Connect() (*sqlx.DB, error)
}

func NewDataBase

func NewDataBase() IDataBase

Jump to

Keyboard shortcuts

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