people

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Person

type Person struct {
	FullName   string `json:"full_name"`
	FirstName  string `json:"first_name"`
	MiddleName string `json:"middle_name,omitempty"`
	FamilyName string `json:"family_name"`
}

Person represents a person's information.

func (Person) AssetType

func (p Person) AssetType() model.AssetType

AssetType implements the Asset interface.

func (Person) JSON

func (p Person) JSON() ([]byte, error)

JSON implements the Asset interface.

func (Person) Key added in v0.7.0

func (p Person) Key() string

Key implements the Asset interface.

Jump to

Keyboard shortcuts

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