portowyi 1 year ago
parent
commit
36a587405e
1 changed files with 0 additions and 3 deletions
  1. 0 3
      controller/products.go

+ 0 - 3
controller/products.go

@@ -2,7 +2,6 @@ package controller
 
 import (
 	"kng_feed_api/model"
-	"log"
 	"net/http"
 
 	"github.com/gin-gonic/gin"
@@ -12,8 +11,6 @@ func LoadProductsInfo(context *gin.Context) {
 	var products model.ProductsArray
 	err := context.ShouldBindJSON(&products)
 
-	log.Println(products)
-
 	if err != nil {
 		context.JSON(http.StatusBadRequest, gin.H{"error": err.Error()})
 		return