Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGravatarProfiles ¶
func GetGravatarProfiles(email string) (*[]GravatarProfile, error)
Types ¶
type GravatarProfile ¶
type GravatarProfile struct {
Hash string `json:"hash"`
ProfileURL string `json:"profileUrl"`
PreferredUser string `json:"preferredUsername"`
ThumbnailURL string `json:"thumbnailUrl"`
Photos []struct {
Value string `json:"value"`
Type string `json:"type"`
} `json:"photos"`
DisplayName string `json:"displayName"`
Pronunciation string `json:"pronunciation"`
Pronouns string `json:"pronouns"`
AboutMe string `json:"aboutMe"`
CurrentLocation string `json:"currentLocation"`
JobTitle string `json:"job_title"`
Company string `json:"company"`
PhoneNumbers []struct {
Type string `json:"type"`
Value string `json:"value"`
} `json:"phoneNumbers"`
ContactInfo []struct {
Type string `json:"type"`
Value string `json:"value"`
} `json:"contactInfo"`
Emails []struct {
Primary string `json:"primary"`
Value string `json:"value"`
} `json:"emails"`
Accounts []struct {
Domain string `json:"domain"`
Display string `json:"display"`
URL string `json:"url"`
IconURL string `json:"iconUrl"`
IsHidden bool `json:"is_hidden"`
Username string `json:"username"`
Verified bool `json:"verified"`
Name string `json:"name"`
Shortname string `json:"shortname"`
} `json:"accounts"`
ProfileBackground struct {
Color string `json:"color"`
Opacity float64 `json:"opacity"`
Size int `json:"size"`
PrimaryColor string `json:"primary_color"`
SurfaceColor string `json:"surface_color"`
} `json:"profileBackground"`
}
Click to show internal directories.
Click to hide internal directories.