SearchArticles searches the Articles data for a matching article. It's just a stub, but you get the idea.
(w http.ResponseWriter, r *http.Request)
| 147 | // SearchArticles searches the Articles data for a matching article. |
| 148 | // It's just a stub, but you get the idea. |
| 149 | func SearchArticles(w http.ResponseWriter, r *http.Request) { |
| 150 | render.RenderList(w, r, NewArticleListResponse(articles)) |
| 151 | } |
| 152 | |
| 153 | // CreateArticle persists the posted Article and returns it |
| 154 | // back to the client as an acknowledgement. |
nothing calls this directly
no test coverage detected