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 goal by id GetByID(c *gin.Context) // Create a goal Create(c *gin.Context) // List serve caller to list all goals List(c *gin.Context) // ChangeTitle serve caller to change goal's title ChangeTitle(c *gin.Context) // ChangeTimeRange serve caller to change goal's start and end ChangeTimeRange(c *gin.Context) // Delete a goal by id Delete(c *gin.Context) }
IHandler declare goal api function
func CreateIHandler ¶
CreateIHandler serve caller to create an IHandler
Click to show internal directories.
Click to hide internal directories.