fdwca

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version of the app. Hardcoded version appears only in release builds.
	Version = "v0.0.1"

	// Build timestamp
	Build string
)

Functions

func GetVersion

func GetVersion() gnvers.Version

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

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

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

func New

func New(cfg config.Config, stor stor.Storage) FromDwCA

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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