wip: add api auth and /resume endpoint

This commit is contained in:
cătălin 2023-12-04 22:13:37 +01:00
commit aaec8ec08d
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
23 changed files with 1244 additions and 271 deletions

View file

@ -0,0 +1,20 @@
package service
import (
"git.roboces.dev/catalin/cvvvvv/internal/domain"
"git.roboces.dev/catalin/cvvvvv/internal/repo"
)
type ResumesService struct {
repo repo.Resumes
}
func NewResumesService(repo repo.Resumes) *ResumesService {
return &ResumesService{
repo: repo,
}
}
func (r *ResumesService) Get() domain.Resume {
return r.repo.Get()
}