Documentation ¶
Index ¶
- type Person
- func Awardee(names []Person) (string, Person, error)
- func AwardeeShort(names []Person) (string, Person, error)
- func PeaceAwardee() (string, Person, error)
- func PeaceAwardeeShort() (string, Person, error)
- func PhysicsAwardee() (string, Person, error)
- func PhysicsAwardeeShort() (string, Person, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Person ¶
type Person struct { Name string `json:"name"` Gender int `json:"gender"` Desc string `json:"desc"` URL string `json:"url"` }
Person - struct with awardee, male, description and wiki URL.
func AwardeeShort ¶
Awardee - generate random fullname from voc.
func PeaceAwardee ¶
PeaceAwardee - generate random fullname from voc (Nobel Peace).
func PeaceAwardeeShort ¶
PeaceAwardee - generate random fullname from voc (Nobel Peace).
func PhysicsAwardee ¶
PhysicsAwardee - generate random fullname from voc (Nobel Physics).
func PhysicsAwardeeShort ¶
PhysicsAwardee - generate random fullname from voc (Nobel Physics).
Click to show internal directories.
Click to hide internal directories.