diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-24 17:18:31 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-24 17:18:31 -0700 |
commit | 89e9d1ff9933c78be9719f881d98fce7de06f446 (patch) | |
tree | 16a694e99ad7690a82c3a3ebf1c8430fc8ccef13 /system/api/handlers.go | |
parent | 6c7905e647166e5ffbdfe44dad870b7c7d2f86d1 (diff) |
debugging params for post queries
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r-- | system/api/handlers.go | 7 |
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) } |