removed unused imports
This commit is contained in:
parent
6e8df73bd2
commit
8f34024832
@ -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,
|
||||
},
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
|
||||
"github.com/go-chi/chi/v5"
|
||||
|
Loading…
Reference in New Issue
Block a user