Documentation ¶
Index ¶
- func ConfigureRouters(router *gin.Engine)
- func CreateNewTask(c *gin.Context)
- func DeleteTask(c *gin.Context)
- func GetAllTasks(c *gin.Context)
- func GetTaskByID(c *gin.Context)
- func JSONError(err error) map[string]interface{}
- func JSONValidator(code string, message string) map[string]interface{}
- func UpdateTask(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureRouters ¶
ConfigureRouters -> configure route handlers
func JSONValidator ¶
JSONValidator -> for http 400/401/422/404
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.