parser

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(path string) (<-chan interface{}, error)

Parse parses the journal at the path, and branches out for include files

func ParseOneFile

func ParseOneFile(path string) (chan interface{}, error)

ParseOneFile parses one file.

Types

type Parser

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

Parser parses a journal

func New

func New(path string, r io.RuneReader) (*Parser, error)

New creates a new parser

func Open

func Open(path string) (*Parser, error)

Open creates a new parser for the given file.

Jump to

Keyboard shortcuts

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