Help us shape the future of Go! Take the 2026 Go Developer Survey

gedcom

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: Unlicense Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader struct {
	ScopeName           string
	Gedcom              *gedcom.Gedcom
	Attrs               map[string]string
	Citations           map[string]*model.GeneralCitation
	Tags                map[string]string
	SourcesByAPID       map[string]*model.Source
	SourceRecordsByXref map[string]*gedcom.SourceRecord
	MediaRecordsByXref  map[string]*gedcom.MediaRecord
}

func NewLoader

func NewLoader(filename string) (*Loader, error)

func (*Loader) Load

func (l *Loader) Load(t *tree.Tree) error

func (*Loader) Scope

func (l *Loader) Scope() string

type ModelFinder

type ModelFinder interface {
	FindPerson(scope string, id string) *model.Person
	FindSource(scope string, id string) *model.Source
	FindPlaceUnstructured(name string, hints ...place.Hint) *model.Place
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL