summaryrefslogtreecommitdiff
path: root/system/api/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-24 17:18:31 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-24 17:18:31 -0700
commit89e9d1ff9933c78be9719f881d98fce7de06f446 (patch)
tree16a694e99ad7690a82c3a3ebf1c8430fc8ccef13 /system/api/handlers.go
parent6c7905e647166e5ffbdfe44dad870b7c7d2f86d1 (diff)
debugging params for post queries
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r--system/api/handlers.go7
1 files changed, 7 insertions, 0 deletions
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)
}