Documentation ¶
Overview ¶
Package generator handles the generation of achievement images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnknownBackground = fmt.Errorf("unknown background")
)
list of errors returned by the generator
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { Backgrounds map[string]image.Image FontFace font.Face // contains filtered or unexported fields }
A Generator manages all resources required to generate achievement images and provides a method to generate them.
Click to show internal directories.
Click to hide internal directories.