From 8f3402483275e5fa19c31b0c5ee5051ec4c4749d Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Mon, 30 Jan 2023 22:35:51 -0800 Subject: [PATCH] removed unused imports --- routes/articles.go | 5 ++--- routes/queue.go | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/routes/articles.go b/routes/articles.go index ebcadc9..3cfaf05 100644 --- a/routes/articles.go +++ b/routes/articles.go @@ -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, }, } diff --git a/routes/queue.go b/routes/queue.go index 5a467a3..a43b296 100644 --- a/routes/queue.go +++ b/routes/queue.go @@ -1,7 +1,6 @@ package routes import ( - "encoding/json" "net/http" "github.com/go-chi/chi/v5"