removed unneeded dep

This commit is contained in:
nquidox 2026-03-13 20:21:52 +03:00
parent e89efaa8b9
commit 2e22e63302
3 changed files with 10 additions and 16 deletions

View file

@ -2,23 +2,20 @@ package merch
import (
"context"
"merch-api/internal/user"
"merch-api/pkg/utils"
)
const serviceLogHeader string = "[Service]"
type service struct {
repo Repository
utils utils.Utils
userProvider user.Provider
repo Repository
utils utils.Utils
}
func newService(repo Repository, u utils.Utils, up user.Provider) *service {
func newService(repo Repository, u utils.Utils) *service {
return &service{
repo: repo,
utils: u,
userProvider: up,
repo: repo,
utils: u,
}
}