summaryrefslogtreecommitdiff
path: root/definitions.go
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2023-01-18 19:36:38 -0700
committernavanchauhan <navanchauhan@gmail.com>2023-01-18 19:36:38 -0700
commit708066b7998a43ca47f6537a1208492efed4e99c (patch)
tree6897f9fd68032e5798c5f906ce28eb678796e4dc /definitions.go
parent2d88576b4085b8226be11b412c979a6ccdd5cdb3 (diff)
added support for sorting
Diffstat (limited to 'definitions.go')
-rw-r--r--definitions.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/definitions.go b/definitions.go
index 6a7b9d1..c9c0c7c 100644
--- a/definitions.go
+++ b/definitions.go
@@ -26,6 +26,7 @@ type SearchResponse struct {
ShowPrev bool
PrevPage int64
NextPage int64
+ Sort string
}
type DocumentResponse struct {