profile

package
v0.0.0-...-cb9ed78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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"`
	LastName  string `json:"last_name"`
	Username  string `json:"username"`
	Gender    string `json:"gender"`
}

Profile contain Open Graph Profile structure

func AddBasicProfile

func AddBasicProfile(profiles []*Profile, v string) []*Profile

func AddFirstName

func AddFirstName(profiles []*Profile, v string) []*Profile

func AddGender

func AddGender(profiles []*Profile, v string) []*Profile

func AddLastName

func AddLastName(profiles []*Profile, v string) []*Profile

func AddUsername

func AddUsername(profiles []*Profile, v string) []*Profile

func NewProfile

func NewProfile() *Profile

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL