model

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheModel

type CacheModel struct {
	Cache cache.Cache
}

func (*CacheModel) SetCache

func (m *CacheModel) SetCache(name string)

type DbModel

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

func (*DbModel) Db

func (m *DbModel) Db(dbName string) *mysql.DB

func (*DbModel) QueryBuilder

func (m *DbModel) QueryBuilder() mysql.Builder

func (*DbModel) SetDb

func (m *DbModel) SetDb(dbname string)

func (*DbModel) SetTable

func (m *DbModel) SetTable(table string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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