Documentation ¶ Index ¶ type Type func NewType(id uint) Type func NewTypeByString(name string) Type Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Type ¶ type Type struct { ID uint Name string MinUploadWith int MinUploadHeight int IsNeedResize bool ResultWidth int ResultHeight int ResultRetinaWidth int ResultRetinaHeight int IsNeedValidate bool AspectHeight int AspectWidth int } func NewType ¶ func NewType(id uint) Type func NewTypeByString ¶ func NewTypeByString(name string) Type Source Files ¶ View all Source files type.go Click to show internal directories. Click to hide internal directories.