homemodel

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserModel added in v1.6.0

type UserModel struct {
	basemodel.BaseModel
}

func NewUserModel added in v1.6.0

func NewUserModel(opts ...basemodel.Option) *UserModel

func (*UserModel) Add added in v1.6.0

func (m *UserModel) Add(username, phone string, options map[string]interface{}) (int64, error)

func (*UserModel) DeleteById added in v1.6.0

func (m *UserModel) DeleteById(id int64) (int64, error)

func (*UserModel) GetDetail added in v1.6.0

func (m *UserModel) GetDetail(id int64) (*homedao.UserDao, error)

func (*UserModel) GetList added in v1.6.0

func (m *UserModel) GetList(q string, page, pageSize int) (int64, []*homedao.UserDao)

func (*UserModel) UpdateById added in v1.6.0

func (m *UserModel) UpdateById(id int64, options map[string]interface{}) (*homedao.UserDao, error)

Jump to

Keyboard shortcuts

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