package
Version:
v0.0.0-...-9f65b07
Opens a new window with list of versions in this module.
Published: Nov 28, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CreateTodo(c *fiber.Ctx) error
func DeleteTodo(c *fiber.Ctx) error
func GetTodos(c *fiber.Ctx) error
func GetUserProfile(c *fiber.Ctx) error
func Login(c *fiber.Ctx) error
func Register(c *fiber.Ctx) error
func UpdateTodo(c *fiber.Ctx) error
type RegisterInput struct {
Name string `json:"name"`
Email string `json:"email"`
Password string `json:"password"`
}
type UserStats struct {
TotalTodos int64 `json:"totalTodos"`
CompletedTodos int64 `json:"completedTodos"`
PendingTodos int64 `json:"pendingTodos"`
CompletionRate float64 `json:"completionRate"`
RecentTodos []models.Todo `json:"recentTodos"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.