package controllers

// import (
// 	"net/http"
// 	models "gitlab.com/pactual1/backend/models"

// 	"gitlab.com/pactual1/backend/models"
// 	"github.com/gin-gonic/gin"
// )

// func Companies(c *gin.Context) {
// 	var companies []models.Company
// 	// Fetch companies from DB here
// 	if err := models.FetchCompanies(&companies); err != nil {
// 		c.JSON(http.StatusInternalServerError, gin.H{"error": "Error fetching companies"})
// 		return
// 	}
// 	c.JSON(http.StatusOK, gin.H{"companies": companies})
// }