Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deity ¶
type Deity struct {
Id string `json:"id"`
Name string `json:"name"`
Gender string `json:"gender"`
Description string `json:"description"`
}
func GetDeities ¶
func GetRandomDeity ¶
type OlympianInfluence ¶
type OlympianInfluence struct {
SportId string `json:"sport_id"`
Influence float32 `json:"influence"`
Name string `json:"name"`
}
func GetDeityInfluence ¶
func GetDeityInfluence(id string) ([]OlympianInfluence, error)
func GetErisInfluence ¶
func GetErisInfluence() ([]OlympianInfluence, error)
Return Eris influence on sports. As goddess of discord Eris will return always a negative influence on all sports but random to make people more concerned.
Click to show internal directories.
Click to hide internal directories.