input

package
v0.0.0-...-6e65144 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidRequest = errors.New("invalid request")
)

Functions

This section is empty.

Types

type PostCircleInput

type PostCircleInput struct {
	Name        string        `json:"name"`
	About       string        `json:"about"`
	CatchCopy   string        `json:"catchCopy"`
	Description string        `json:"description"`
	EyeCatch    string        `json:"eyecatch"`
	Email       string        `json:"email"`
	Twitter     string        `json:"twitter"`
	URL         string        `json:"url"`
	Images      []circleImage `json:"images"`
	Types       []circleType  `json:"types"`
	CategoryID  int           `json:"category_id"`
}

func (PostCircleInput) Validate

func (i PostCircleInput) Validate() error

Jump to

Keyboard shortcuts

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