Documentation ¶
Overview ¶
* * Created by GoLand * User: dollarkiller * Date: 19-6-8 * Time: 下午9:14 *
Index ¶
- type SuperstarDao
- func (s *SuperstarDao) Create(data defs.StarInfo) error
- func (s *SuperstarDao) Delete(id int) error
- func (s *SuperstarDao) Get(id int) *defs.StarInfo
- func (s *SuperstarDao) GetAll() []*defs.StarInfo
- func (s *SuperstarDao) Search(country string) []*defs.StarInfo
- func (s *SuperstarDao) Update(data *defs.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 { }
func (*SuperstarDao) Delete ¶
func (s *SuperstarDao) Delete(id int) error
func (*SuperstarDao) GetAll ¶
func (s *SuperstarDao) GetAll() []*defs.StarInfo
Click to show internal directories.
Click to hide internal directories.