db

package
v0.0.0-...-f750034 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDB

func SetDB(p DB)

Types

type DB

type DB interface {
	// mock funcs list here
	GetData(context.Context, int64) (*model.M1, error)
}

func GetDB

func GetDB() DB

func New

func New(engine *xorm.Engine) DB

Directories

Path Synopsis
Package mockdb is a generated GoMock package.
Package mockdb is a generated GoMock package.

Jump to

Keyboard shortcuts

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