removed unused imports

This commit is contained in:
James Tombleson 2023-01-30 22:35:51 -08:00
parent 6e8df73bd2
commit 8f34024832
2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,6 @@
package routes
import (
"encoding/json"
"net/http"
"strconv"
@ -70,9 +69,9 @@ func (s *Server) listArticles(w http.ResponseWriter, r *http.Request) {
// @Router /articles/by/page [get]
// @Success 200 {object} ArticlesListResults "OK"
func (s *Server) ListArticlesByPage(w http.ResponseWriter, r *http.Request) {
p := ArticlesListResults {
p := ArticlesListResults{
ApiStatusModel: ApiStatusModel{
Message: "OK",
Message: "OK",
StatusCode: http.StatusOK,
},
}

View File

@ -1,7 +1,6 @@
package routes
import (
"encoding/json"
"net/http"
"github.com/go-chi/chi/v5"