Documentation ¶
Overview ¶
Package contact contains all structures and tools related to contacts
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateUUID ¶
func GenerateUUID() string
Types ¶
type Address ¶
type Address struct { // The type of the address : personal, professional... Type string // Next fields are precisions for the address Street string City string State string Zip string Country string }
Address represents a physical address for a contact
type Contact ¶
type Contact struct { // The Unique User identifier of the user (based on UUIDv4) UUID string // The full name of the contact Name string // One or more email addresses Emails []TypeValue // One or more physical addresses Addresses []Address // One or more phone numbers Phones []TypeValue // One or more Internet links WebLinks []string // One or more accounts on Internet Accounts []TypeValue // One or more associated contacts AssociatedContacts []int // Some texts that user can add to the contact Notes []string }
Contacts represents a contact and all its data in the address book
Click to show internal directories.
Click to hide internal directories.