@@ -26,7 +26,7 @@ type (
|
|||||||
Controls []*Control
|
Controls []*Control
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Control) CursorKey() page.CursorKey {
|
func (c Control) CursorKey() page.CursorKey {
|
||||||
return page.NewCursorKey(c.ID, c.CreatedAt)
|
return page.NewCursorKey(c.ID, c.CreatedAt)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ type (
|
|||||||
Frameworks []*Framework
|
Frameworks []*Framework
|
||||||
)
|
)
|
||||||
|
|
||||||
func (f *Framework) CursorKey() page.CursorKey {
|
func (f Framework) CursorKey() page.CursorKey {
|
||||||
return page.NewCursorKey(f.ID, f.CreatedAt)
|
return page.NewCursorKey(f.ID, f.CreatedAt)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user