Remove useless pointer

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-01-22 16:39:11 +01:00
parent d1531c1fba
commit 072a1b836d
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
} }

View File

@@ -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)
} }