diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-17 14:30:30 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-17 14:30:30 -0700 |
commit | 48f47310204df4cb1bdb5ee8db761ab942b20527 (patch) | |
tree | 17d60a09a95ef14d962e37d1b1f0a5089ea43f9c /system/api/handlers.go | |
parent | 4b85ce4b24c5ae2ed6ca3f5f23af92b988e9f4b2 (diff) |
adding initial updates to provide better time recording for post editing & creation
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 |