Documentation ¶
Overview ¶
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:13
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:14
+gpa-ignore DO NOT EDIT THIS FILE Generated by gpa at 2021-12-06 10:58:16
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:14
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:15
+gpa-ignore DO NOT EDIT THIS FILE Generated by gpa at 2021-12-06 10:58:16
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:15
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:16
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:16
+gpa-ignore DO NOT EDIT THIS FILE Generated by mro at 2021-12-06 10:58:16
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)
- func (find *Find) FindUsers2(nm string) ([]*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 RepoTruncate
- type Teacher
- type Update
- 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, name 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 RepoTruncate ¶
type RepoTruncate struct {
// contains filtered or unexported fields
}
type Teacher ¶
type Teacher struct {
// contains filtered or unexported fields
}