diff options
-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) } |