Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOReader ¶
type IOReader struct {
// contains filtered or unexported fields
}
IOReader provides a mock reader that returns the provided error when calling read.
func NewIOReader ¶
NewIOReader returns a new instance of CSVReader for the given error.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader is a reader that returns the given observations and error on read.
func NewReader ¶
func NewReader(observations []*observation.Observation, error error) *Reader
NewReader provides a reader that returns the given observations and error on read.
func (*Reader) Read ¶
func (reader *Reader) Read() (*observation.Observation, error)
Read an observation from the mocked observations.
Click to show internal directories.
Click to hide internal directories.