feat: translation middleware

This commit is contained in:
schreifuchs committed 2026-02-19 21:13:01 +01:00
1 parent bbae5b1c93
commit cbc2a1a803
35 files changed
+1500 -82

No files matched your search

+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
}
+7
View File
@@ -0,0 +1,7 @@
package page
type Service struct{}
func New() *Service {
return &Service{}
}