Documentation
¶
Overview ¶
Package gedcom provides a functions to parse GEDCOM files.
Index ¶
- type AddressRecord
- type CitationRecord
- type DataRecord
- type Decoder
- type EventRecord
- type FamilyLinkRecord
- type FamilyRecord
- type Gedcom
- type Header
- type IndividualRecord
- type MediaRecord
- type NameRecord
- type NoteRecord
- type PlaceRecord
- type RepositoryRecord
- type SourceRecord
- type SubmissionRecord
- type SubmitterRecord
- type SystemRecord
- type Trailer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressRecord ¶
type CitationRecord ¶
type CitationRecord struct {
Source *SourceRecord
Page string
Data DataRecord
Quay string
Media []*MediaRecord
Note []*NoteRecord
}
type DataRecord ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
A Decoder reads and decodes GEDCOM objects from an input stream.
func NewDecoder ¶
NewDecoder returns a new decoder that reads r.
type EventRecord ¶
type EventRecord struct {
Tag string
Value string
Type string
Date string
Place PlaceRecord
Address AddressRecord
Age string
Agency string
Cause string
Citation []*CitationRecord
Media []*MediaRecord
Note []*NoteRecord
}
type FamilyLinkRecord ¶
type FamilyLinkRecord struct {
Family *FamilyRecord
Type string
Note []*NoteRecord
}
type FamilyRecord ¶
type FamilyRecord struct {
Xref string
Husband *IndividualRecord
Wife *IndividualRecord
Child []*IndividualRecord
Event []*EventRecord
}
type Gedcom ¶
type Gedcom struct {
Header *Header
SubmissionRecord *SubmissionRecord
Family []*FamilyRecord
Individual []*IndividualRecord
Media []*MediaRecord
Repository []*RepositoryRecord
Source []*SourceRecord
Submitter []*SubmitterRecord
Trailer *Trailer
}
type Header ¶
type Header struct {
SourceSystem SystemRecord
}
type IndividualRecord ¶
type IndividualRecord struct {
Xref string
Name []*NameRecord
Sex string
Event []*EventRecord
Attribute []*EventRecord
Parents []*FamilyLinkRecord
Family []*FamilyLinkRecord
}
type MediaRecord ¶
type MediaRecord struct {
}
type NameRecord ¶
type NameRecord struct {
Name string
Citation []*CitationRecord
Note []*NoteRecord
}
type NoteRecord ¶
type NoteRecord struct {
Note string
Citation []*CitationRecord
}
type PlaceRecord ¶
type PlaceRecord struct {
Name string
Citation []*CitationRecord
Note []*NoteRecord
}
type RepositoryRecord ¶
type RepositoryRecord struct {
}
type SourceRecord ¶
type SourceRecord struct {
Xref string
Title string
Media []*MediaRecord
Note []*NoteRecord
}
type SubmissionRecord ¶
type SubmissionRecord struct {
Xref string
}
type SubmitterRecord ¶
type SubmitterRecord struct {
}
type SystemRecord ¶
Click to show internal directories.
Click to hide internal directories.