2024-03-15 21:27:45 +03:00
|
|
|
package endpoints
|
|
|
|
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
|
|
|
|
type handlers struct{}
|
|
|
|
|
|
|
|
type Handlers interface {
|
|
|
|
GetCartItems(c *gin.Context)
|
|
|
|
CreateFUser(c *gin.Context)
|
2024-03-28 18:20:57 +03:00
|
|
|
CreateCartItem(c *gin.Context)
|
|
|
|
UpdateCartItem(c *gin.Context)
|
|
|
|
DeleteCartItem(c *gin.Context)
|
2024-03-15 21:27:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func GetHandlers() Handlers {
|
|
|
|
return &handlers{}
|
|
|
|
}
|