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 caller to get a result by id GetByID(c *gin.Context) // List all results List(c *gin.Context) // Create a result Create(c *gin.Context) // ChangeTitle serve caller to change result's title ChangeTitle(c *gin.Context) // ChangeTarget serve caller to change result's target ChangeTarget(c *gin.Context) // ChangeActual serve caller to change result's actual ChangeActual(c *gin.Context) // Delete a result by id Delete(c *gin.Context) }
IHandler declare result api function
func CreateIHandler ¶
CreateIHandler serve caller to create an IHandler
Click to show internal directories.
Click to hide internal directories.