feat: translation middleware

This commit is contained in:
2026-03-02 22:37:11 +01:00
parent dd5e32cc4d
commit 9a1f7e0d99
35 changed files with 1467 additions and 83 deletions
+19
View File
@@ -0,0 +1,19 @@
package page
type Page struct {
UID string
Title string
CoverImageUID string
}
func (s *Service) GetPages() (pages []Page, err error) {
pages = []Page{
{
UID: "asdf",
Title: "asdfAasdf!",
CoverImageUID: "500-1000",
},
}
return
}