Documentation ¶
Index ¶
- type ActivityGroup
- type ActivityGroupController
- func (c *ActivityGroupController) All(context *fiber.Ctx) error
- func (c *ActivityGroupController) Create(context *fiber.Ctx) error
- func (c *ActivityGroupController) Delete(context *fiber.Ctx) error
- func (c *ActivityGroupController) GetOne(context *fiber.Ctx) error
- func (c *ActivityGroupController) Update(context *fiber.Ctx) error
- type Controller
- func (c *Controller) GetJsonResponse(data interface{}) map[string]interface{}
- func (c *Controller) HandleSendCreated(context *fiber.Ctx, data interface{}) error
- func (c *Controller) HandleSendOK(context *fiber.Ctx, data interface{}, needLower bool) error
- func (c *Controller) HandleSendPlaceholder(context *fiber.Ctx) error
- type CreateTodo
- type QueryTodo
- type TodoListController
- func (c *TodoListController) All(context *fiber.Ctx) error
- func (c *TodoListController) Create(context *fiber.Ctx) error
- func (c *TodoListController) Delete(context *fiber.Ctx) error
- func (c *TodoListController) GetOne(context *fiber.Ctx) error
- func (c *TodoListController) Update(context *fiber.Ctx) error
- type UpdateTodo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityGroup ¶
type ActivityGroupController ¶
type ActivityGroupController struct { Controller DB *gorm.DB }
func (*ActivityGroupController) All ¶
func (c *ActivityGroupController) All(context *fiber.Ctx) error
func (*ActivityGroupController) Create ¶
func (c *ActivityGroupController) Create(context *fiber.Ctx) error
func (*ActivityGroupController) Delete ¶
func (c *ActivityGroupController) Delete(context *fiber.Ctx) error
func (*ActivityGroupController) GetOne ¶
func (c *ActivityGroupController) GetOne(context *fiber.Ctx) error
func (*ActivityGroupController) Update ¶
func (c *ActivityGroupController) Update(context *fiber.Ctx) error
type Controller ¶
func (*Controller) GetJsonResponse ¶
func (c *Controller) GetJsonResponse(data interface{}) map[string]interface{}
func (*Controller) HandleSendCreated ¶
func (c *Controller) HandleSendCreated(context *fiber.Ctx, data interface{}) error
func (*Controller) HandleSendOK ¶
func (c *Controller) HandleSendOK(context *fiber.Ctx, data interface{}, needLower bool) error
func (*Controller) HandleSendPlaceholder ¶
func (c *Controller) HandleSendPlaceholder(context *fiber.Ctx) error
type CreateTodo ¶
type TodoListController ¶
type TodoListController struct { Controller DB *gorm.DB }
func (*TodoListController) All ¶
func (c *TodoListController) All(context *fiber.Ctx) error
func (*TodoListController) Create ¶
func (c *TodoListController) Create(context *fiber.Ctx) error
func (*TodoListController) Delete ¶
func (c *TodoListController) Delete(context *fiber.Ctx) error
func (*TodoListController) GetOne ¶
func (c *TodoListController) GetOne(context *fiber.Ctx) error
func (*TodoListController) Update ¶
func (c *TodoListController) Update(context *fiber.Ctx) error
type UpdateTodo ¶
Click to show internal directories.
Click to hide internal directories.