Documentation
¶
Index ¶
- type Store
- func (s Store) AddNote(personQuery string, note model.Note) (model.Note, error)
- func (s Store) AddPerson(name string, emails, phones, tags []string, now time.Time) (model.Person, error)
- func (s Store) ClearAvatar(personQuery string, now time.Time) (model.Person, error)
- func (s Store) FindPerson(query string) (model.Person, error)
- func (s Store) ImportContacts(source string, contacts []model.SourceContact, dryRun bool, now time.Time) ([]model.ImportChange, error)
- func (s Store) Notes(personQuery string) ([]model.Note, error)
- func (s Store) People() ([]model.Person, error)
- func (s Store) Rebuild() error
- func (s Store) RepairAvatarMetadata(person model.Person, now time.Time) (model.Person, bool, error)
- func (s Store) Search(query string) ([]model.SearchHit, error)
- func (s Store) SetAvatar(personQuery, imagePath string, now time.Time) (model.Person, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (Store) ClearAvatar ¶
func (Store) ImportContacts ¶
func (s Store) ImportContacts(source string, contacts []model.SourceContact, dryRun bool, now time.Time) ([]model.ImportChange, error)
func (Store) RepairAvatarMetadata ¶
Click to show internal directories.
Click to hide internal directories.