homemodel

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HomeModel

type HomeModel struct {
}

func NewHomeModel

func NewHomeModel() *HomeModel

func (*HomeModel) Add

func (m *HomeModel) Add(name string, options map[string]interface{}) (int64, error)

func (*HomeModel) DeleteById

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

func (*HomeModel) GetDetail

func (m *HomeModel) GetDetail(id int64) *homedao.HomeDao

func (*HomeModel) GetList

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

func (*HomeModel) UpdateById

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

Jump to

Keyboard shortcuts

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