Documentation ¶
Index ¶
- type AbstractDomain
- func (d *AbstractDomain) Add(model interface{}) *resp.ResponseInfo
- func (d *AbstractDomain) Delete(pk string) *resp.ResponseInfo
- func (d *AbstractDomain) GetList(queryCond utils.QueryConditions) *resp.ResponseInfo
- func (d *AbstractDomain) GetOneByPK(pk string) *resp.ResponseInfo
- func (d *AbstractDomain) Update(model interface{}, pk string) *resp.ResponseInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractDomain ¶
func NewAbstractDomain ¶
func NewAbstractDomain(abstractDao *dao.AbstractDao) *AbstractDomain
func (*AbstractDomain) Add ¶
func (d *AbstractDomain) Add(model interface{}) *resp.ResponseInfo
func (*AbstractDomain) Delete ¶
func (d *AbstractDomain) Delete(pk string) *resp.ResponseInfo
func (*AbstractDomain) GetList ¶
func (d *AbstractDomain) GetList(queryCond utils.QueryConditions) *resp.ResponseInfo
func (*AbstractDomain) GetOneByPK ¶
func (d *AbstractDomain) GetOneByPK(pk string) *resp.ResponseInfo
func (*AbstractDomain) Update ¶
func (d *AbstractDomain) Update(model interface{}, pk string) *resp.ResponseInfo
Click to show internal directories.
Click to hide internal directories.