Documentation ¶
Index ¶
- type SuperstarDao
- func (d *SuperstarDao) Create(data *models.StarInfo) *models.StarInfo
- func (d *SuperstarDao) Delete(id int) error
- func (d *SuperstarDao) Get(id int) *models.StarInfo
- func (d *SuperstarDao) GetAll() []models.StarInfo
- func (d *SuperstarDao) Search(country string) []models.StarInfo
- func (d *SuperstarDao) Update(data *models.StarInfo, columns []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SuperstarDao ¶
type SuperstarDao struct {
// contains filtered or unexported fields
}
func NewSuperstarDao ¶
func NewSuperstarDao(engine *xorm.Engine) *SuperstarDao
func (*SuperstarDao) Delete ¶
func (d *SuperstarDao) Delete(id int) error
func (*SuperstarDao) GetAll ¶
func (d *SuperstarDao) GetAll() []models.StarInfo
Click to show internal directories.
Click to hide internal directories.