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,7 +69,7 @@ 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",
|
||||
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