diff options
author | Alan Pearce | 2025-01-04 20:28:41 +0100 |
---|---|---|
committer | Alan Pearce | 2025-01-04 20:28:41 +0100 |
commit | 750d4948e81e1ac6b6a63386b96f8c60828891e5 (patch) | |
tree | 8354b40cfb28bc154c89b47e37c74fca7f479fb6 /internal/components/data.go | |
parent | 3d9e6998177f7fc8e971df4913c3a880ff911c99 (diff) | |
download | searchix-750d4948e81e1ac6b6a63386b96f8c60828891e5.tar.lz searchix-750d4948e81e1ac6b6a63386b96f8c60828891e5.tar.zst searchix-750d4948e81e1ac6b6a63386b96f8c60828891e5.zip |
refactor: extract pagination into module
Diffstat (limited to 'internal/components/data.go')
-rw-r--r-- | internal/components/data.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/internal/components/data.go b/internal/components/data.go index 3625017..aecd44c 100644 --- a/internal/components/data.go +++ b/internal/components/data.go @@ -21,9 +21,8 @@ type TemplateData struct { type ResultData struct { TemplateData - Query string - ResultsPerPage int - Results *search.Result - Prev string - Next string + Query string + Results *search.Result + Prev string + Next string } |