Documentation ¶
Overview ¶
+mro-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-07-21 10:39:34
+mro-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-07-21 10:39:35
+mro-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-07-21 10:39:36
+mro-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-07-21 10:39:36
+gpa-ignore DO NOT EDIT THIS FILE Generated by gpa at 2021-07-19 16:50:01
+mro-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-07-21 10:39:37
+mro-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-07-21 10:39:37
+mro-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-07-21 10:39:38
Index ¶
- type Count
- type Delete
- func (delete *Delete) Delete1Name(id uint64) (int64, models.User, error)
- func (delete *Delete) Delete2Name(user models.User, id uint64) (int64, error)
- func (delete *Delete) DeleteAll() (int64, models.User, error)
- func (delete *Delete) DeleteByAgeAndCret(user *models.User) (int64, *models.User, error)
- func (delete *Delete) DeleteByName(user *models.User, gender bool) (int64, error)
- func (delete *Delete) DeleteName(user *models.User, name string, ages []int) (int64, error)
- func (delete *Delete) DeleteXByAge(age int, URL string) (int64, models.User, error)
- func (delete *Delete) DeleteXName(user *models.User, name string) (int64, error)
- type Find
- func (find *Find) FindA(ctx context.Context, id uint64) (*models.User, error)
- func (find *Find) FindById(id uint64) (models.User, error)
- func (find *Find) FindCbById(id uint64, fn func(*models.User) error) error
- func (find *Find) FindMapById(id uint64, fn func(*models.User) (uint64, error)) (map[uint64]*models.User, error)
- func (find *Find) FindMapByName(name string, kg func(*models.User) (uint64, error)) (map[uint64]*models.User, error)
- func (find *Find) FindUsers(nm string) ([]*models.User, error)
- func (find *Find) FindUsers1(ids []uint64) ([]*models.User, error)
- type FindBy
- func (findBy *FindBy) FindAById(ctx context.Context, id uint64) (*models.User, error)
- func (findBy *FindBy) FindById(id uint64) (models.User, error)
- func (findBy *FindBy) FindCbById(id uint64, fn func(*models.User) error) error
- func (findBy *FindBy) FindMapByName(name string, kg func(*models.User) (uint64, error)) (map[uint64]*models.User, error)
- func (findBy *FindBy) FindXuByName(name string) ([]*models.User, error)
- type Teacher
- func (teacher *Teacher) FindAll() ([]*models.Teacher, error)
- func (teacher *Teacher) FindByID(id int64) (*models.Teacher, error)
- func (teacher *Teacher) FindCallbck(cb func(*models.Teacher) error) error
- func (teacher *Teacher) FindMap(kg func(*models.Teacher) (int64, error)) (map[int64]*models.Teacher, error)
- func (teacher *Teacher) Insert1Teacher(tc *models.Teacher) (*models.Teacher, error)
- func (teacher *Teacher) InsertTeacher(name string) (*models.Teacher, error)
- func (teacher *Teacher) UpdateByID(tc *models.Teacher) error
- type Update
- func (update *Update) Update1Name(name string, id uint64) (int64, models.User, error)
- func (update *Update) Update2Name(user models.User, ids []uint64) (int64, error)
- func (update *Update) UpdateByAgeAndCret(user *models.User) (int64, *models.User, error)
- func (update *Update) UpdateByName(user *models.User, gender bool) (int64, error)
- func (update *Update) UpdateName(user *models.User, name string) (int64, error)
- func (update *Update) UpdateXByAge(age int, URL string) (int64, models.User, error)
- func (update *Update) UpdateXName(user *models.User, name string) (int64, error)
- func (update *Update) UpdateXuByIdAndAge(user *models.User) error
- func (update *Update) UpdateYName(name string) (int64, models.User, error)
- type UserRepo
- func (userRepo *UserRepo) Insert(ctx context.Context, user *models.User, name string) (*models.User, error)
- func (userRepo *UserRepo) InsertA(user *models.User) error
- func (userRepo *UserRepo) InsertB(user *models.User, DD string, URL string) (models.User, error)
- func (userRepo *UserRepo) InsertC(user *models.User) (*models.User, error)
- func (userRepo *UserRepo) InsertUser(name string) (*models.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Count ¶
type Count struct {
// contains filtered or unexported fields
}
func (*Count) CountByName ¶
type Delete ¶
type Delete struct {
// contains filtered or unexported fields
}
func (*Delete) Delete1Name ¶
func (*Delete) Delete2Name ¶
func (*Delete) DeleteByAgeAndCret ¶
func (*Delete) DeleteByName ¶
func (*Delete) DeleteName ¶
func (*Delete) DeleteXByAge ¶
type Find ¶
type Find struct {
// contains filtered or unexported fields
}
func (*Find) FindCbById ¶
func (*Find) FindMapById ¶
func (*Find) FindMapByName ¶
type FindBy ¶
type FindBy struct {
// contains filtered or unexported fields
}
func (*FindBy) FindCbById ¶
func (*FindBy) FindMapByName ¶
type Teacher ¶
type Teacher struct {
// contains filtered or unexported fields
}
func (*Teacher) FindCallbck ¶
func (*Teacher) Insert1Teacher ¶
func (*Teacher) InsertTeacher ¶
type Update ¶
type Update struct {
// contains filtered or unexported fields
}
func (*Update) Update1Name ¶
func (*Update) Update2Name ¶
func (*Update) UpdateByAgeAndCret ¶
func (*Update) UpdateByName ¶
func (*Update) UpdateName ¶
func (*Update) UpdateXByAge ¶
func (*Update) UpdateXName ¶
func (*Update) UpdateXuByIdAndAge ¶
Click to show internal directories.
Click to hide internal directories.