feat: news router
This commit is contained in:
@@ -14,7 +14,8 @@ func GetAll(
|
||||
) {
|
||||
router.Get("/category", func(w http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
subsPlan, err := categorySvc.GetAll()
|
||||
subsPlan, err := categorySvc.GetAllModel()
|
||||
// subsPlan, err := categorySvc.GetAll()
|
||||
if err != nil {
|
||||
response.ResponseWithErrorCode(
|
||||
ctx,
|
||||
|
||||
Reference in New Issue
Block a user