Documentation ¶
Index ¶
- type Profile
- func AddBasicProfile(profiles []*Profile, v string) []*Profile
- func AddFirstName(profiles []*Profile, v string) []*Profile
- func AddGender(profiles []*Profile, v string) []*Profile
- func AddLastName(profiles []*Profile, v string) []*Profile
- func AddUsername(profiles []*Profile, v string) []*Profile
- func NewProfile() *Profile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { FirstName string `json:"first_name,omitempty"` LastName string `json:"last_name,omitempty"` Username string `json:"username,omitempty"` Gender string `json:"gender,omitempty"` }
Profile contain Open Graph Profile structure
func AddBasicProfile ¶
func AddFirstName ¶
func AddLastName ¶
func AddUsername ¶
func NewProfile ¶
func NewProfile() *Profile
Click to show internal directories.
Click to hide internal directories.