Documentation ¶
Index ¶
- Variables
- func AddNewCatergory(c *gin.Context)
- func AddNewTask(c *gin.Context)
- func CORSMiddleware() gin.HandlerFunc
- func DeleteCategory(c *gin.Context)
- func DeleteTask(c *gin.Context)
- func EditCategory(c *gin.Context)
- func EditTask(c *gin.Context)
- func GetAllCategory(c *gin.Context)
- func GetAllTasks(c *gin.Context)
- func GetCategoryTasks(c *gin.Context)
- func Start(args []string)
- type CategoryStruct
- type CategoryStructEdit
- type IDRequest
- type ToDoStruct
- type ToDoStructEdit
Constants ¶
This section is empty.
Variables ¶
View Source
var CategoriesList []CategoryStruct
View Source
var CurrentCategoryID int = 1
View Source
var CurrentTaskID int = 1
View Source
var TasksList []ToDoStruct
Functions ¶
func AddNewCatergory ¶
func AddNewTask ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
CORSMiddleware middleware headers for any RESTful requests {{{
func DeleteCategory ¶
func DeleteTask ¶
func EditCategory ¶
func GetAllCategory ¶
func GetAllTasks ¶
func GetCategoryTasks ¶
Types ¶
type CategoryStruct ¶
type CategoryStructEdit ¶
type ToDoStruct ¶
Click to show internal directories.
Click to hide internal directories.