15 lines
220 B
Go
15 lines
220 B
Go
|
package endpoints
|
||
|
|
||
|
import "github.com/gin-gonic/gin"
|
||
|
|
||
|
type handlers struct{}
|
||
|
|
||
|
type Handlers interface {
|
||
|
GetFilters(c *gin.Context)
|
||
|
GetCatalogItems(c *gin.Context)
|
||
|
}
|
||
|
|
||
|
func GetHandlers() Handlers {
|
||
|
return &handlers{}
|
||
|
}
|