Documentation
¶
Index ¶
- type Controller
- func (ctrl *Controller) Create(c echo.Context) error
- func (ctrl *Controller) Delete(c echo.Context) error
- func (ctrl *Controller) Get(c echo.Context) error
- func (ctrl *Controller) List(c echo.Context) error
- func (ctrl *Controller) Update(c echo.Context) error
- func (ctrl *Controller) Vote(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(db database.Querier) *Controller
Click to show internal directories.
Click to hide internal directories.