sf

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SF

type SF interface {
	// Initializes SFGArchive and its database.
	Init() error

	// VersionSFGA returns the schema version of SFGArchive.
	VersionSFGA() string

	// GetNames gets unique name-strings, parses them and creates
	// model for export to GNverifier.
	GetNames(
		g *errgroup.Group,
		ctx context.Context,
		chN chan<- []model.NameString,
		chC chan<- []model.Canonical,
		chCF chan<- []model.CanonicalFull,
		chCS chan<- []model.CanonicalStem,
	) error

	// GetNameIndices retrieves name string indices information
	// from SFGA archive.
	GetNameIndices(
		context.Context,
		chan<- []model.NameStringIndex,
	) error

	// GetVernNames gets unique vernacular name-strings.
	GetVernNames(context.Context, chan<- [][]string) error

	// GetVernIndices retrieves vernacular names indices information
	// from SFGA archive.
	GetVernIndices(
		context.Context,
		chan<- []model.VernacularStringIndex,
	) error

	// GetDataSource fetches data source information from SFGA
	GetDataSource(
		*model.DataSource,
	) error
}

SF represents SFGA archive and export functions

Jump to

Keyboard shortcuts

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