Skip to content

Commit

Permalink
fix: group svc
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Jun 26, 2024
1 parent 288bf83 commit 40ca3d5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions internal/group/group.service.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package group
import (
"context"

"github.com/isd-sgcu/rpkm67-backend/internal/cache"
proto "github.com/isd-sgcu/rpkm67-go-proto/rpkm67/backend/group/v1"
"go.uber.org/zap"
)
Expand All @@ -14,14 +13,14 @@ type Service interface {

type serviceImpl struct {
proto.UnimplementedGroupServiceServer
cache *cache.Repository
log *zap.Logger
repo Repository
log *zap.Logger
}

func NewService(cache *cache.Repository, log *zap.Logger) Service {
func NewService(repo Repository, log *zap.Logger) Service {
return &serviceImpl{
cache: cache,
log: log,
repo: repo,
log: log,
}
}

Expand Down

0 comments on commit 40ca3d5

Please sign in to comment.