Versions in this module Expand all Collapse all v0 v0.4.0 Jul 15, 2026 Changes in this version type Client + func (c *Client) GetHistoryFilters(ctx context.Context) (*HistoryFilters, error) + func (c *Client) ListPersonsHistory(ctx context.Context, filter HistoryFilter) (*HistoryPage, error) + type HistoryAuthor struct + DisplayName string + ID string + type HistoryDataType struct + EventType string + PersonDataBlock string + SourceType string + type HistoryDataTypeFacet struct + Count int + Item struct{ ... } + type HistoryEntry struct + Author HistoryAuthor + Person HistoryPersonRef + Record HistoryRecord + type HistoryFacet struct + Count int + Item struct{ ... } + type HistoryFilter struct + Ascending bool + AuthorIDs []string + Causes []string + DataTypes []HistoryDataType + From time.Time + ItemsPerPage int + Operations []string + Page int + PersonIDs []string + Text string + Till time.Time + type HistoryFilters struct + Authors []HistoryFacet + Causes []HistoryFacet + DataTypes []HistoryDataTypeFacet + Operations []HistoryFacet + Persons []HistoryFacet + PersonsHasMore bool + type HistoryPage struct + Data []HistoryEntry + Pager Pager + type HistoryPersonRef struct + BirthFirstName string + BirthLastName string + FirstName string + Gender string + ID string + LastName string + MiddleName string + type HistoryRecord struct + Cause string + Changes json.RawMessage + HappenedAt string + ID int64 + Operation string + PersonDataBlock string + type Pager struct + ItemsPerPage int + Page int + TotalItems int v0.3.1 Jul 2, 2026 v0.3.0 Jul 2, 2026 Changes in this version + const TreeComponent + const TreeDown + const TreeUp + func BirthYear(events []Event, personUUID string) (int, bool) + func DeathYear(events []Event, personUUID string) (int, bool) type Client + func (c *Client) CrawlTree(ctx context.Context, rootUUID string, opts TreeOptions) ([]TreeNode, error) type Event + func OwnDeathEvent(events []Event, personUUID string) *Event + type PersonRef struct + Name string + UUID string + type Relations struct + Children []PersonRef + Parents []PersonRef + Spouses []Spouse + func DeriveRelations(events []Event, personUUID string) Relations + type Spouse struct + MarriageUUID string + Name string + UUID string + type TreeNode struct + Children []PersonRef + Name string + Parents []PersonRef + Spouses []Spouse + UUID string + Year int + type TreeOptions struct + Depth int + Direction string + Surname string v0.2.0 Jun 29, 2026 Changes in this version + type Biography struct + Text string + UpdatedAt string type Client + func (c *Client) GetPersonBiography(ctx context.Context, uuid string) (*Biography, error) + func (c *Client) UpdatePersonBiography(ctx context.Context, uuid, text, version string) (*Biography, error) type CreatePersonInput + Biography *string v0.1.0 Jun 29, 2026 Changes in this version + const EventBaptism + const EventBirth + const EventDeath + const EventWedding + const GenderFemale + const GenderMale + const PrivacyInvisible + const PrivacyVisibleForAll + const RangeAfter + const RangeBefore + const RangeBetween + const RoleChild + const RoleOwner + const RoleParent + const RoleSpouse + const SelfRef + const SourceTypeCase + const SourceTypeCatalogPerson + var ErrAccessDenied = errors.New("familio: access denied") + var ErrFullDiskAccessRequired = errors.New(...) + var ErrNoCookies = errors.New("familio: no familio.org cookies found in any browser") + var ErrNotFound = errors.New("familio: resource not found") + var ErrNotLoggedIn = errors.New("familio: not logged in (session cookie missing or expired)") + var FactEventTypes = []string + var SupportedBrowsers = []string + func ChildrenOf(events []Event, personUUID string) []string + func CookieFromSessionToken(token string) []*http.Cookie + func CookiesFromBrowser(browsers ...string) ([]*http.Cookie, error) + func CookiesFromHeader(header string) []*http.Cookie + func SpousesOf(events []Event, personUUID string) []string + type BasicFields struct + BirthFirstName string + BirthLastName string + FirstName string + Gender string + LastName string + MiddleName string + Privacy string + type BasicRecord struct + CreatedAt string + DisplayName string + UUID string + UpdatedAt string + type Client struct + func NewClient(opts Options) (*Client, error) + func (c *Client) AccountUUID(ctx context.Context) (string, error) + func (c *Client) CreateEvent(ctx context.Context, personUUID string, ev Event) (*Event, error) + func (c *Client) CreatePerson(ctx context.Context, in CreatePersonInput) (*createResponse, error) + func (c *Client) CreateSource(ctx context.Context, personUUID string, ref SourceRef) (*Source, error) + func (c *Client) DeleteEvent(ctx context.Context, personUUID, eventUUID string) error + func (c *Client) DeletePerson(ctx context.Context, uuid string) error + func (c *Client) DeleteSource(ctx context.Context, personUUID, sourceUUID string) error + func (c *Client) GetPersonBasic(ctx context.Context, uuid string) (*BasicRecord, error) + func (c *Client) GetPersonDisplay(ctx context.Context, uuid string) (*personDisplay, error) + func (c *Client) GetPersonEvents(ctx context.Context, uuid string) ([]Event, error) + func (c *Client) GetPersonRegular(ctx context.Context, uuid string) (*RegularRecord, error) + func (c *Client) GetPersonSources(ctx context.Context, personUUID string) ([]Source, error) + func (c *Client) GetSettlement(ctx context.Context, uuid string) (*SettlementDetail, error) + func (c *Client) ListSettlementPersons(ctx context.Context, settlement string) ([]Person, error) + func (c *Client) UpdatePersonBasic(ctx context.Context, uuid string, fields BasicFields, version string) (*BasicRecord, error) + func (c *Client) UpdateSourceComment(ctx context.Context, personUUID, sourceUUID, comment string) (*Source, error) + type Coordinate struct + Coordinates []float64 + Type string + func (c *Coordinate) LatLon() (lat, lon float64, ok bool) + type CreatePersonInput struct + Basic BasicFields + Events []Event + type DatePart struct + Day *int + Month *int + Type string + Year int + type DateRange struct + Calendar string + Circa bool + Day *int + EndCirca bool + EndDay *int + EndMonth *int + EndYear *int + Month *int + Range string + Year int + func RangeFromEventDate(date EventDate) *DateRange + type Event struct + Comment string + CreatedAt string + Date EventDate + Participants []Participant + Settlement *Settlement + Type string + UUID *string + UpdatedAt string + func BaptismEvent(date *DateRange, ownerRef, place, comment string) Event + func BirthEvent(date *DateRange, childRef string, parents []string, place, comment string) Event + func DeathEvent(date *DateRange, ownerRef, place, comment string) Event + func FactEvent(eventType string, date *DateRange, ownerRef, comment string) Event + func FindByID(events []Event, uuid string) *Event + func OwnBirthEvent(events []Event, personUUID string) *Event + func SelfBaptismEvent(date *DateRange, place, comment string) Event + func SelfBirthEvent(date *DateRange, place, comment string) Event + func SelfDeathEvent(date *DateRange, place, comment string) Event + func WeddingEvent(date *DateRange, partnerA, partnerB, comment string) Event + func (e *Event) ID() string + func (e *Event) ParentUUIDs() []string + func (e *Event) SettlementUUID() string + func (e *Event) SpouseUUIDs() []string + type EventDate struct + Calendar string + First *DatePart + Formatted string + Second *DatePart + Type string + func EventDateFromRange(r *DateRange) EventDate + type FlexDate struct + Formatted string + Present bool + func (d *FlexDate) UnmarshalJSON(b []byte) error + func (d FlexDate) Value() (string, bool) + type Georequisite struct + Level1 string + Level2 string + Year int + type Options struct + BaseURL string + Cookies []*http.Cookie + HTTPClient *http.Client + RateLimit float64 + UserAgent string + type Participant struct + DisplayName string + Gender string + PersonUUID string + Role string + type Person struct + BirthDate FlexDate + BirthSettlementText string + CatalogKey *string + CatalogName string + DeathDate FlexDate + DisplayName string + Gender string + HasDeathEvent bool + ShortDisplayName string + Type string + UUID string + UpdatedAt string + type RegularRecord struct + DisplayName string + Gender string + OwnerID string + PrivacyType string + UUID string + type Settlement struct + UUID string + func SettlementRef(uuid string) *Settlement + type SettlementDetail struct + AdditionalNames []string + Coordinate *Coordinate + MainGeorequisite *Georequisite + PrimaryName string + Status string + Type string + UUID string + type Source struct + Catalog *SourceCatalog + Comment string + CreatedAt string + Name string + Requisites string + Type string + UUID string + UpdatedAt string + Years string + func FindSourceByID(sources []Source, uuid string) *Source + type SourceCatalog struct + Hidden bool + Key string + func (c *SourceCatalog) String() string + func (c *SourceCatalog) UnmarshalJSON(b []byte) error + type SourceRef struct + CatalogKey *string + Type string + UUID string