validator

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Reader tl.Reader
	Copier *copier.Copier
}

Validator checks a GTFS source for errors and warnings.

func NewValidator

func NewValidator(reader tl.Reader) (*Validator, error)

NewValidator returns a new Validator.

func (*Validator) Validate

func (v *Validator) Validate() ([]error, []error)

Validate checks the feed and returns any errors and warnings that are found.

Jump to

Keyboard shortcuts

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