diff options
Diffstat (limited to 'system/api/handlers.go')
-rw-r--r-- | system/api/handlers.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |