feat: NewWishListService constructor implemented
This commit is contained in:
@@ -52,9 +52,13 @@ type WishListService interface {
|
||||
GetWishesByWishListGuidPaginated(cinfo dto.ClientInfo, guid string, amount int, page int, sorting enums.Sorting, sortOrder enums.SortOrder) (*[]dto.WishDto, error)
|
||||
}
|
||||
|
||||
func NewWishListService(_log *zap.Logger, _dbctx database.DbContext, _redis *redis.Client) WishListService {
|
||||
// XXX: fill this in
|
||||
return wishListServiceImpl{}
|
||||
func NewWishListService(_log *zap.Logger, _dbctx database.DbContext, _redis *redis.Client, _s3 S3Service) WishListService {
|
||||
return wishListServiceImpl{
|
||||
log: _log,
|
||||
dbctx: _dbctx,
|
||||
redis: _redis,
|
||||
s3: _s3,
|
||||
}
|
||||
}
|
||||
|
||||
func (w wishListServiceImpl) CreateWish(cinfo dto.ClientInfo, object dto.NewWishDto) (*dto.WishDto, error) {
|
||||
|
||||
Reference in New Issue
Block a user