request

package
v0.0.0-...-a7e37d3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 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 TagCreateRequest

type TagCreateRequest struct {
	Name string `json:"name" validate:"required"`
}

type TodoCreateRequest

type TodoCreateRequest struct {
	Message string   `json:"message" validate:"required"`
	Note    *string  `json:"note"`
	Tags    *[]int32 `json:"tags"`
}

Example for using other validator rule `json:"value" validate:"min=1,max=10,required"`

Jump to

Keyboard shortcuts

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