Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSize = Size{
Width: 200,
Height: 200,
Quality: 100,
}
DefaultSize 缩略图默认尺寸
View Source
var Registry = Registries{ `*`: {DefaultSize}, }
Functions ¶
This section is empty.
Types ¶
type Registries ¶
func (*Registries) Add ¶
func (r *Registries) Add(subdir string, vs ...Size) *Registries
func (*Registries) Get ¶
func (r *Registries) Get(subdir string) Sizes
func (*Registries) Set ¶
func (r *Registries) Set(subdir string, vs ...Size) *Registries
Click to show internal directories.
Click to hide internal directories.