Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTodoRequest ¶
type AddTodoRequest struct {
Content string `json:"content" binding:"required"`
}
type HandlerService ¶
type HandlerService interface { AddTodo(ctx *gin.Context) GetTodo(ctx *gin.Context) MGetTodo(ctx *gin.Context) DelTodo(ctx *gin.Context) UpdTodo(ctx *gin.Context) }
func NewHandlerService ¶
func NewHandlerService(db *gorm.DB) HandlerService
type UpdTodoRequest ¶
type UpdTodoRequest struct {
Content string `json:"content" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.