Documentation ¶
Index ¶
- func TableName(model interface{}) string
- type AccountService
- func (m *AccountService) AccountLogin(name string, password string) (res *models.Account, e error)
- func (m *AccountService) FindAccount(name string) (res *models.Account, err error)
- func (m *AccountService) GetDataList() (res []*models.Account, err error)
- func (m *AccountService) GetDataListPage(page *models.Page, PrivatelyOwned ...int) (res []*models.Account, total int, err error)
- type BaseService
- type DemoService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountService ¶
type AccountService struct {
BaseService
}
func NewAccountService ¶
func NewAccountService() *AccountService
func (*AccountService) AccountLogin ¶
func (*AccountService) FindAccount ¶
func (m *AccountService) FindAccount(name string) (res *models.Account, err error)
func (*AccountService) GetDataList ¶
func (m *AccountService) GetDataList() (res []*models.Account, err error)
func (*AccountService) GetDataListPage ¶
func (m *AccountService) GetDataListPage(page *models.Page, PrivatelyOwned ...int) (res []*models.Account, total int, err error)
分页查询指定用户的项目 按照最新的进行排序
type BaseService ¶
type BaseService struct{}
type DemoService ¶
type DemoService struct {
BaseService
}
func NewDemoService ¶
func NewDemoService() *DemoService
func (*DemoService) FindByIdentify ¶
Click to show internal directories.
Click to hide internal directories.