From 89e9d1ff9933c78be9719f881d98fce7de06f446 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 24 Oct 2016 17:18:31 -0700 Subject: debugging params for post queries --- system/api/handlers.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'system/api/handlers.go') diff --git a/system/api/handlers.go b/system/api/handlers.go index aa3b936..bbddc09 100644 --- a/system/api/handlers.go +++ b/system/api/handlers.go @@ -3,6 +3,7 @@ package api import ( "bytes" "encoding/json" + "fmt" "log" "net/http" "strconv" @@ -101,6 +102,12 @@ func postsHandler(res http.ResponseWriter, req *http.Request) { return } + fmt.Println("count:", count) + fmt.Println("offset:", offset) + fmt.Println("order:", order) + fmt.Println("start:", start) + fmt.Println("end:", end) + sendData(res, j, http.StatusOK) } -- cgit v1.2.3