aboutsummaryrefslogtreecommitdiff
path: root/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'search.go')
-rw-r--r--search.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.go b/search.go
index 40f495d..acb611e 100644
--- a/search.go
+++ b/search.go
@@ -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
}