parser

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	// Parse accepts a reader and parses the data it returns, returning an
	// error if parsing fails.
	//
	// Implementations must not retain r. Implementations should not retain
	// any parsed data if returning an error.
	Parse(r io.Reader) (interface{}, error)
}

Parser is the interface that wraps the standard Parse method.

Jump to

Keyboard shortcuts

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