Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSourceContacts ¶
func ToSourceContacts(contacts []Contact, includeAvatars bool) []model.SourceContact
Types ¶
type Contact ¶
type Contact struct {
Identifier string `json:"identifier"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
FullName string `json:"full_name"`
Emails []string `json:"emails"`
Phones []string `json:"phones"`
AvatarData []byte `json:"avatar_data,omitempty"`
}
func (Contact) SourceContact ¶
func (c Contact) SourceContact(includeAvatar bool) model.SourceContact
Click to show internal directories.
Click to hide internal directories.