Documentation ¶
Overview ¶
Package models contains structures
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meme ¶
type Meme struct { Image string `json:"image" validate:"required_without=ImageForm,omitempty,url|file|datauri"` ImageForm multipart.File `form:"image" validate:"required_without=Image"` TopText string `json:"top_text" form:"top_text" validate:"omitempty"` BottomText string `json:"bottom_text" form:"bottom_text" validate:"omitempty"` FastStroke bool `json:"fast_stroke" validate:"omitempty"` }
Meme holds image data and text, FastStroke faster, but less accurate
Click to show internal directories.
Click to hide internal directories.