Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImageFormat ¶
type ImageFormat string
const ( ImageFormatJPG ImageFormat = "jpg" ImageFormatPNG ImageFormat = "png" ImageFormatInvalid ImageFormat = "" )
func GetImageFormatFromString ¶
func GetImageFormatFromString(input string) (ImageFormat, error)
GetImageFormatFromString is a helper to get the ImageFormat from a string
Click to show internal directories.
Click to hide internal directories.