func ResponseError(c *gin.Context, status int, err error) {
	er := RespError{
		Message: err.Error(),
	}
	c.JSON(status, er)
}
ResponseError will return the error message
package utils
import (
	"github.com/gin-gonic/gin"
)
type RespError struct {
	Message string `json:"error" example:"status bad request"`
}