Documentation ¶
Index ¶
- func NewUserRepo(db *gorm.DB) *userRepo
- type TrackingRepo
- func (sr TrackingRepo) Delete(c context.Context, id uint) (err error)
- func (sr TrackingRepo) Fetch(c context.Context, m *[]models.Tracking, userID uint) (err error)
- func (sr TrackingRepo) GetByUserID(c context.Context, m *models.Tracking, id uint) (err error)
- func (sr *TrackingRepo) Store(c context.Context, m *models.Tracking) (err error)
- func (sr *TrackingRepo) Update(c context.Context, mu models.Tracking, id uint) (socialMedia models.Tracking, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserRepo ¶
Types ¶
type TrackingRepo ¶
type TrackingRepo struct {
// contains filtered or unexported fields
}
func NewTrackingRepo ¶
func NewTrackingRepo(db *gorm.DB) *TrackingRepo
func (TrackingRepo) GetByUserID ¶
Click to show internal directories.
Click to hide internal directories.