tasks

package
v0.0.0-...-71ad85e Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetHandler = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
	Get(w, r)
})

Functions

func Get

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

Types

type Data

type Data struct {
	Tasks *[]*Task `json:"tasks"`
}

type Info

type Info struct {
	User   string `json:"user"`
	Status string `json:"status"`
}

type Task

type Task struct {
	ID   uint `json:"id"`
	Info Info `json:"info"`
}

Jump to

Keyboard shortcuts

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