models

package
v0.0.0-...-074ff86 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Db *goqu.Database

Functions

func InitDb

func InitDb(d *sql.DB)

Types

type Model

type Model struct {
	Id         int        `db:"id" json:"id" goqu:"skipinsert,skipupdate"`
	CreateTime utils.Time `db:"create_time" json:"create_time" goqu:"skipinsert,skipupdate"`
	UpdateTime utils.Time `db:"update_time" json:"update_time" goqu:"skipinsert,skipupdate"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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