feat: translation middleware

This commit is contained in:
2026-02-19 21:13:01 +01:00
parent bbae5b1c93
commit cbc2a1a803
35 changed files with 1500 additions and 82 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
}