package
0.0.0-20220202160042-089f0e8de224
Repository: https://github.com/antonioalfa22/go-rest-template.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetTaskById godoc @Summary Retrieves task based on given ID @Description get Task by ID @Produce json @Param id path integer true "Task ID" @Success 200 {object} tasks.Task @Router /api/tasks/{id} [get] @Security Authorization Token.
GetTasks godoc @Summary Retrieves tasks based on query @Description Get Tasks @Produce json @Param taskname query string false "Taskname" @Param firstname query string false "Firstname" @Param lastname query string false "Lastname" @Success 200 {array} []tasks.Task @Router /api/tasks [get] @Security Authorization Token.
GetUserById godoc @Summary Retrieves user based on given ID @Description get User by ID @Produce json @Param id path integer true "User ID" @Success 200 {object} users.User @Router /api/users/{id} [get] @Security Authorization Token.
GetUsers godoc @Summary Retrieves users based on query @Description Get Users @Produce json @Param username query string false "Username" @Param firstname query string false "Firstname" @Param lastname query string false "Lastname" @Success 200 {array} []users.User @Router /api/users [get] @Security Authorization Token.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author