Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGlobal ¶
InitGlobal initializes the global generator.
Types ¶
type FaceGenerator ¶
type FaceGenerator struct {
// contains filtered or unexported fields
}
FaceGenerator is a generator for faces.
var Global *FaceGenerator
Global is the global generator.
func (*FaceGenerator) Gen ¶
func (gen *FaceGenerator) Gen(id int) string
Gen generates a face with the given id.
func (*FaceGenerator) GenRand ¶
func (gen *FaceGenerator) GenRand() string
GenRand generates a random face.
Click to show internal directories.
Click to hide internal directories.