controller

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTodo

func CreateTodo(ctx echo.Context) error

CreateTodo ...

func DeleteTodo

func DeleteTodo(ctx echo.Context) error

DeleteTodo ...

func ListTodo

func ListTodo(ctx echo.Context) error

ListTodo ...

func UpdateTodo

func UpdateTodo(ctx echo.Context) error

UpdateTodo ...

Types

type Todo

type Todo struct {
	Name string `json:"name"`
	Done bool   `json:"done"`
}

Todo ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL