profile

package
v0.0.0-...-a14f63d Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 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,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 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