Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTMLBody ¶ added in v0.0.15
type HTMLBody struct {
Body string
}
HTMLBody mixin to get raw html version of the body field
type Thumbnailable ¶
type Thumbnailable struct { Image string `pg:"type:varchar(256)"` // contains filtered or unexported fields }
Thumbnailable mixin to be embedded in a model for an entity with an image to be «thumbnailed»
func (*Thumbnailable) Thumbnail ¶ added in v0.0.15
func (th *Thumbnailable) Thumbnail(width, height, quality int) string
Thumbnail checks if a thumbnail with given params exists or generates it on disk
Click to show internal directories.
Click to hide internal directories.