Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTodoRoutes ¶
func AddTodoRoutes(app *fiber.App, controller *TodoController)
Types ¶
type TodoController ¶
type TodoController struct {
// contains filtered or unexported fields
}
func NewTodoController ¶
func NewTodoController(storage *TodoStorage) *TodoController
type TodoStorage ¶
type TodoStorage struct {
// contains filtered or unexported fields
}
func NewTodoStorage ¶
func NewTodoStorage(db *mongo.Database) *TodoStorage
Click to show internal directories.
Click to hide internal directories.