diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-05-28 21:15:28 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2024-05-28 21:15:28 +0530 |
commit | 160496938ebb9a32d0d3d41071a3daaf2480bb33 (patch) | |
tree | 2d492289570b394d4ab80c9bd668b36855a35e10 /search.go | |
parent | 80288b7a0330b035a50c5898b566c0163e206316 (diff) |
made Search function publicv1.1.0
Diffstat (limited to 'search.go')
-rw-r--r-- | search.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,10 +22,10 @@ import ( "strconv" ) -func search(q SearchQuery) ([]Entry, error) { +func Search(q SearchQuery) ([]Entry, error) { var res []Entry - url, err := q.Build() + url, err := q.build() if err != nil { return res, err } |