importer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Importer

type Importer interface {
	// Import imports the given data into the reciever's data structure.
	Import(data interface{}) error
}

Importer is the interface that wraps the basic Import method.

Importer accepts the empty interface and extracts data from there, returning an error if the import fails.

Implementations must not retain data. Implementations should not retain any imported data if returning an error.

Jump to

Keyboard shortcuts

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