20 lines
287 B
Go
20 lines
287 B
Go
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
|
|
}
|