datatransfer

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

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TodoRequest

type TodoRequest struct {
	Id       string `json:"id"`
	Activity string `json:"activity" validate:"required"`
	Priority string `json:"priority" validate:"required"`
}

type TodoResponse

type TodoResponse struct {
	Id       string `json:"id"`
	Activity string `json:"activity"`
	Priority string `json:"priority"`
	IsDone   bool   `json:"is_done"`
}

type TodoUpdateRequest

type TodoUpdateRequest struct {
	Activity string `json:"activity"`
	Priority string `json:"priority"`
	IsDone   *bool  `json:"is_done"`
}

Jump to

Keyboard shortcuts

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