feat: translation middleware
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user