Documentation
¶
Index ¶
- func NewUserTodaRepo(tx *gorm.DB) userToda.IUserTodaRepo
- type UserTodaRepo
- func (s *UserTodaRepo) Delete(id uint) (uint, error)
- func (s *UserTodaRepo) DeleteByTodaId(todaId uint) error
- func (s *UserTodaRepo) First(querier *dto.UserTodaQuerier) (*entity.UserToda, error)
- func (s *UserTodaRepo) Get(id uint) (*entity.UserToda, error)
- func (s *UserTodaRepo) List(querier *dto.UserTodaQuerier) ([]*entity.UserToda, error)
- func (s *UserTodaRepo) Save(form *entity.UserToda) (*entity.UserToda, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserTodaRepo ¶
func NewUserTodaRepo(tx *gorm.DB) userToda.IUserTodaRepo
Types ¶
type UserTodaRepo ¶
type UserTodaRepo struct {
// contains filtered or unexported fields
}
func (*UserTodaRepo) DeleteByTodaId ¶
func (s *UserTodaRepo) DeleteByTodaId(todaId uint) error
func (*UserTodaRepo) First ¶
func (s *UserTodaRepo) First(querier *dto.UserTodaQuerier) (*entity.UserToda, error)
func (*UserTodaRepo) List ¶
func (s *UserTodaRepo) List(querier *dto.UserTodaQuerier) ([]*entity.UserToda, error)
Click to show internal directories.
Click to hide internal directories.