parsers

package
v0.0.0-...-02f0489 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 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 Parser

type Parser interface {
	// Exts returns a list of extensions for this data format.
	Exts() []string
	// ParseFile tries to parse and load the filepath into the given type.
	ParseFile(filepath string, v interface{}) error
}

Parser represents a data format data can be parsed and loaded into a type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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