summaryrefslogtreecommitdiff
path: root/handlerFuncs.go
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-10-17 22:37:10 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-10-17 22:37:10 -0600
commit24a0e7942a2e3917b856157344d3302fbac8a6d5 (patch)
treebc250f48a3d370b43e2a9bee72f64a19b7ccf78f /handlerFuncs.go
parentedf53abbe793681715a86634574beeff99fa5883 (diff)
remove print
Diffstat (limited to 'handlerFuncs.go')
-rw-r--r--handlerFuncs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlerFuncs.go b/handlerFuncs.go
index 78a498e..d6542e0 100644
--- a/handlerFuncs.go
+++ b/handlerFuncs.go
@@ -13,7 +13,7 @@ func searchHandler(w http.ResponseWriter, r *http.Request, index *meilisearch.In
r.ParseForm()
fmt.Println(r.Form)
if r.Form["query"] != nil || r.FormValue("query") != "" {
- fmt.Println("query:", r.Form["query"])
+ //fmt.Println("query:", r.Form["query"])
var myOffset int64
if r.Form["offset"] != nil {
offset, _ := strconv.ParseInt(r.FormValue("offset"), 10, 64)
@@ -104,7 +104,7 @@ func documentHandler510k(w http.ResponseWriter, r *http.Request, index *meilisea
"THIRDPARTY",
"EXPEDITEDREVIEW",
}}, &res)
- fmt.Println(res)
+ //fmt.Println(res)
var year = documentID[1:3]
template.Execute(w, DocumentResponse{