generic

package
v0.1.137 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCannotSniffFormat = errors.New("cannot sniff holding file format")

Functions

func New

func New(filename string) (holdings.File, error)

New returns a holding file to read entries from given a filename.

func NewReader

func NewReader(r io.Reader) (holdings.File, error)

NewReader returns a holding file to read entries from. It will probe the the different formats and use a suitable implementation.

Types

type ErrorList

type ErrorList struct {
	// contains filtered or unexported fields
}

func (*ErrorList) Add

func (e *ErrorList) Add(err error)

func (ErrorList) Error

func (e ErrorList) Error() string

Jump to

Keyboard shortcuts

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