19 lines
315 B
Go
19 lines
315 B
Go
|
package endpoints
|
||
|
|
||
|
import "github.com/gin-gonic/gin"
|
||
|
|
||
|
type handlers struct{}
|
||
|
|
||
|
type Handlers interface {
|
||
|
GetCartItems(c *gin.Context)
|
||
|
CreateFUser(c *gin.Context)
|
||
|
|
||
|
CreateCartItem(c *gin.Context)
|
||
|
UpdateCartItem(c *gin.Context)
|
||
|
DeleteCartItem(c *gin.Context)
|
||
|
}
|
||
|
|
||
|
func GetHandlers() Handlers {
|
||
|
return &handlers{}
|
||
|
}
|