dao

package
v0.0.0-...-e6622fa Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDao

type SDao struct {
	// contains filtered or unexported fields
}

func NewSDao

func NewSDao(engin *xorm.Engine) *SDao

func (*SDao) Create

func (d *SDao) Create(data *models.SysUser) error

func (*SDao) Delete

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

func (*SDao) Get

func (d *SDao) Get(id int) *models.SysUser

func (*SDao) GetAll

func (d *SDao) GetAll() []models.SysUser

func (*SDao) Search

func (d *SDao) Search(country string) []models.SysUser

func (*SDao) Update

func (d *SDao) Update(data *models.SysUser, colums []string) error

Jump to

Keyboard shortcuts

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