todo

package
v0.0.0-...-0dbdec9 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTodo

func CreateTodo(w http.ResponseWriter, r *http.Request)

func DeleteTodo

func DeleteTodo(w http.ResponseWriter, r *http.Request)

func GetATodo

func GetATodo(w http.ResponseWriter, r *http.Request)

func GetAllTodos

func GetAllTodos(w http.ResponseWriter, r *http.Request)

func Routes

func Routes() *chi.Mux

Types

type Todo

type Todo struct {
	Slug  string `json:"slug"`
	Title string `json:"title"`
	Body  string `json:"body"`
}

Jump to

Keyboard shortcuts

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