Documentation ¶
Index ¶
- func CitationDate(gc *grampsxml.Citation) (*model.Date, error)
- func EventDate(grev *grampsxml.Event) (*model.Date, error)
- func ParseDaterange(dr grampsxml.Daterange) (*model.Date, error)
- func ParseDatespan(ds grampsxml.Datespan) (*model.Date, error)
- func ParseDateval(dv grampsxml.Dateval) (*model.Date, error)
- type Loader
- type ModelFinder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Loader ¶
type Loader struct { DB *grampsxml.Database ScopeName string TagsByHandle map[string]*grampsxml.Tag EventsByHandle map[string]*grampsxml.Event PeopleByHandle map[string]*grampsxml.Person FamiliesByHandle map[string]*grampsxml.Family CitationsByHandle map[string]*grampsxml.Citation SourcesByHandle map[string]*grampsxml.Source PlacesByHandle map[string]*grampsxml.Placeobj ObjectsByHandle map[string]*grampsxml.Object RepositoriesByHandle map[string]*grampsxml.Repository NotesByHandle map[string]*grampsxml.Note // contains filtered or unexported fields }
type ModelFinder ¶
type ModelFinder interface { FindPerson(scope string, id string) *model.Person FindCitation(scope string, id string) (*model.GeneralCitation, bool) FindSource(scope string, id string) *model.Source FindRepository(scope string, id string) *model.Repository FindPlace(name string, id string) *model.Place FindFamilyByParents(father *model.Person, mother *model.Person) *model.Family FindMediaObject(path string) *model.MediaObject AddAlias(alias string, canonical string) }
Click to show internal directories.
Click to hide internal directories.