Files
kontor/kontor-gin/internal/service/auth.go
T
Thomas Peetz f0f1819a1f
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
umstellung auf Service und Repository Verwendung - WIP
2026-09-25 16:57:23 +02:00

13 lines
292 B
Go

package service
import "kontor-api-gin/internal/repository"
type AuthService struct {
repository *repository.ProfileRepository
}
func NewAuthService(repository *repository.ProfileRepository, secret []byte) *AuthService {
service := &AuthService{repository: repository}
return service
}