From 48f47310204df4cb1bdb5ee8db761ab942b20527 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 17 Oct 2016 14:30:30 -0700 Subject: adding initial updates to provide better time recording for post editing & creation --- system/api/handlers.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/api') diff --git a/system/api/handlers.go b/system/api/handlers.go index 5fb79bc..0c9139f 100644 --- a/system/api/handlers.go +++ b/system/api/handlers.go @@ -32,6 +32,8 @@ func postsHandler(res http.ResponseWriter, req *http.Request) { // num := q.Get("num") // page := q.Get("page") + // TODO: inplement time-based ?after=time.Time, ?before=time.Time between=time.Time|time.Time + if t == "" { res.WriteHeader(http.StatusBadRequest) return -- cgit v1.2.3