model

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = sqlx.ErrNotFound

Functions

This section is empty.

Types

type TbWaitlist

type TbWaitlist struct {
	Id         int64     `db:"id"`          // id
	Email      string    `db:"email"`       // 邮箱
	CreateTime time.Time `db:"create_time"` // 创建时间
	UpdateTime time.Time `db:"update_time"` // 最后更新时间
}

type TbWaitlistModel

type TbWaitlistModel interface {
	// contains filtered or unexported methods
}

TbWaitlistModel is an interface to be customized, add more methods here, and implement the added methods in customTbWaitlistModel.

func NewTbWaitlistModel

func NewTbWaitlistModel(conn sqlx.SqlConn, c cache.CacheConf) TbWaitlistModel

NewTbWaitlistModel returns a model for the database table.

Jump to

Keyboard shortcuts

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