gndiff

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version of gndiff
	Version = "v0.3.0"
	// Build timestamp
	Build = "n/a"
)

Functions

This section is empty.

Types

type Differ

type Differ interface {
	// Compare takes a query
	// should be in a csv, tsv, or plain text format.
	Compare(
		query []record.Record,
		reference []record.Record,
	) (output.Output, error)
}

Differ contains method to match query and reference. `Query` contains scientific name-string to match, while `reference` contains scientific name-string to match against.

type GNdiff

type GNdiff interface {
	Differ
	GetVersion() gnvers.Version
}

GNdiff is an interface that enables comparison of two files that contain scientific names. Comparison tries to find matched names, and indicates type of match.

func New

func New(cfg config.Config) GNdiff

Directories

Path Synopsis
ent

Jump to

Keyboard shortcuts

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