importer

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: MIT 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. It
	// accepts the empty interface and extracts data from there, returning
	// an error if the import fails.
	//
	// Implementations must not retain d. Implementations should not retain
	// any imported data if returning an error.
	Import(d interface{}) error
}

Importer is the interface that wraps the standard Import method.

Jump to

Keyboard shortcuts

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