response

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	ID       uint   `json:"id"`
	Title    string `json:"title"`
	Priority uint   `json:"priority"`
}

type List

type List struct {
	ID          uint    `json:"id"`
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Items       []*Item `json:"items"`
}

type ListToDOListResponse

type ListToDOListResponse struct {
	Lists []*List `json:"lists"`
}

type Login

type Login struct {
	Token *auth.Token `json:"token"`
}

type TodoLists

type TodoLists []*List

func (TodoLists) FromEntity

func (l TodoLists) FromEntity(lists []*todo.List) TodoLists

Jump to

Keyboard shortcuts

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