fdwca

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Build = "n/a"
View Source
var Version = "v0.5.9"

Functions

func GetVersion

func GetVersion() gnvers.Version

GetVersion returns BHLnames version and build information.

Types

type FromDwCA

type FromDwCA interface {
	// GetDwCA reads a DarwinCore Archive from a file, and returns
	// a normalized dwca.Archive object.
	GetDwCA(fileDwCA string) (dwca.Archive, error)

	// ImportDwCA converts a dwca.Archive to a Species File Group Archive
	// database.
	ImportDwCA(arc dwca.Archive) error

	// ExportSFGA writes a Species File Group Archive to a file.
	ExportSFGA(outputPath string) error
}

FromDwCA provies methods to convert DarwinCore Archive to Species File Group Archive.

func New

func New(cfg config.Config, sfga sfga.Archive) FromDwCA

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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