Documentation ¶
Index ¶
- type CuttedPerson
- type Person
- func Awardee(names []Person) (string, Person, error)
- func AwardeeShort(names []Person) (string, Person, error)
- func ChemistryAwardee() (string, Person, error)
- func ChemistryAwardeeShort() (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 CuttedPerson ¶ added in v1.0.4
CuttedPerson - struct with name and gender.
func IndianName ¶ added in v1.0.4
func IndianName() (string, CuttedPerson, error)
IndianName - generate random fullname from voc (Indian).
func IndianNameShort ¶ added in v1.0.4
func IndianNameShort() (string, CuttedPerson, error)
IndianNameShort - generate random fullname from voc (Indian).
func SomeName ¶ added in v1.0.4
func SomeName(names []CuttedPerson) (string, CuttedPerson, error)
SomeName - generate random fullname from voc.
func SomeNameShort ¶ added in v1.0.4
func SomeNameShort(names []CuttedPerson) (string, CuttedPerson, error)
SomeNameShort - generate random fullname from voc.
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 ChemistryAwardee ¶ added in v1.0.4
ChemistryAwardee - generate random fullname from voc (Nobel Chemistry).
func ChemistryAwardeeShort ¶ added in v1.0.4
ChemistryAwardee - generate random fullname from voc (Nobel Chemistry).
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).