21 lines
375 B
Go
21 lines
375 B
Go
|
package repository
|
||
|
|
||
|
import (
|
||
|
"codeword/internal/models"
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
type StatsRepository struct {
|
||
|
}
|
||
|
|
||
|
func NewStatsRepository() *StatsRepository {
|
||
|
return &StatsRepository{}
|
||
|
}
|
||
|
|
||
|
func (r *StatsRepository) Getstats(ctx context.Context, request *models.PromoCodeStatsReq) (*models.PromoCodeStatsResp, error) {
|
||
|
//TODO:IMPLEMENT ME
|
||
|
|
||
|
return &models.PromoCodeStatsResp{}, nil
|
||
|
|
||
|
}
|