Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildInfo ¶
type ImageFormat ¶
type ImageFormat int8
const ( ImageFormatPNG ImageFormat = iota ImageFormatJPEG )
func ParseImageType ¶
func ParseImageType(v string) (ImageFormat, error)
func (ImageFormat) ContentType ¶
func (it ImageFormat) ContentType() string
func (ImageFormat) Ext ¶
func (it ImageFormat) Ext() string
func (ImageFormat) String ¶
func (it ImageFormat) String() string
func (*ImageFormat) UnmarshalText ¶
func (it *ImageFormat) UnmarshalText(text []byte) (err error)
Click to show internal directories.
Click to hide internal directories.