Documentation ¶ Index ¶ func Get(t string) []string func GetRandom(t string) string func InitGen() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get(t string) []string Get returns all data for the given type. func GetRandom ¶ func GetRandom(t string) string GetRandom returns a random entry for the given type. func InitGen ¶ func InitGen() InitGen loads all data from the assets/gen folder. This function should be called on startup. The data is stored in a map with the type as key and a slice of strings, which are the lines of the file, as value. Types ¶ This section is empty. Source Files ¶ View all Source files gen.go Directories ¶ Show internal Expand all Path Synopsis faces Click to show internal directories. Click to hide internal directories.