Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IHandler ¶
type IHandler interface { // GetByID serve user to get a task by id GetByID(c *gin.Context) // List serve user to list all tasks List(c *gin.Context) // Create serve user to creat a task Create(c *gin.Context) // ModifyTitle serve user to modify title of task ModifyTitle(c *gin.Context) // UpdateStatus serve user to update status of task UpdateStatus(c *gin.Context) // Delete serve user to delete a task by id Delete(c *gin.Context) }
IHandler declare todo api handler
func CreateIHandler ¶
CreateIHandler serve caller to create an IHandler
Click to show internal directories.
Click to hide internal directories.