dao

package
v0.0.0-...-7d53539 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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) Create

func (d *SuperstarDao) Create(data *models.StarInfo) *models.StarInfo

func (*SuperstarDao) Delete

func (d *SuperstarDao) Delete(id int) error

func (*SuperstarDao) Get

func (d *SuperstarDao) Get(id int) *models.StarInfo

func (*SuperstarDao) GetAll

func (d *SuperstarDao) GetAll() []models.StarInfo

func (*SuperstarDao) Search

func (d *SuperstarDao) Search(country string) []models.StarInfo

func (*SuperstarDao) Update

func (d *SuperstarDao) Update(data *models.StarInfo, columns []string) error

Jump to

Keyboard shortcuts

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