package
Version:
v0.0.0-...-07a41e4
Opens a new window with list of versions in this module.
Published: Jul 19, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type User struct {
Id int64 `db:"id"`
Number string `db:"number"`
Name string `db:"name"`
Password string `db:"password"`
Gender string `db:"gender"`
CreateTime time.Time `db:"create_time"`
UpdateTime time.Time `db:"update_time"`
}
type UserModel interface {
}
UserModel is an interface to be customized, add more methods here,
and implement the added methods in customUserModel.
NewUserModel returns a model for the database table.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.