translation endpoint!

This commit is contained in:
Daniel Goc
2026-03-12 17:46:59 +01:00
parent 098f559b5f
commit db921a7e78
10 changed files with 400 additions and 175 deletions

View File

@@ -85,7 +85,7 @@ func (s *LangService) GetLanguageByISOCode(isoCode string) (*view.Language, erro
return s.repo.GetByISOCode(isoCode)
}
// GetLanguageByISOCode returns a language by its ISO code
// GetLanguageByISOCode returns a language by its id
func (s *LangService) GetLanguageById(id uint) (*view.Language, error) {
return s.repo.GetById(id)
}