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