Remove unused var
This commit is contained in:
@@ -14,14 +14,12 @@ import (
|
||||
)
|
||||
|
||||
type UserService struct {
|
||||
repo repository.User
|
||||
branchRepo repository.Branch
|
||||
repo repository.User
|
||||
}
|
||||
|
||||
func NewUserService(repo repository.User, branchRepo repository.Branch) *UserService {
|
||||
func NewUserService(repo repository.User) *UserService {
|
||||
return &UserService{
|
||||
repo: repo,
|
||||
branchRepo: branchRepo,
|
||||
repo: repo,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user