Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedGender = errors.New("unsupported gender")
Functions ¶
func GenerateFile ¶
GenerateFile generates random avatar and save it to specified file. Image format depends on file extension (jpeg, jpg, png, gif). Default is png
func GenerateFileForUsername ¶
GenerateFileForUsername generates avatar for username and save it to specified file. Image format depends on file extension (jpeg, jpg, png, gif). Default is png
Types ¶
Click to show internal directories.
Click to hide internal directories.