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.
Click to show internal directories.
Click to hide internal directories.