format

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JSONFormatter = &jsonFormatter{}

JSONFormatter formats a path as plain text

View Source
var KMLFormatter = &kmlFormatter{}

KMLFormatter formats a path as a KML document

View Source
var TextFormatter = &textFormatter{}

TextFormatter formats a path as plain text

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Write(path *flight.Path, writer io.Writer, verbose bool) error
}

Formatter is capable of formatting a path for a given output

Jump to

Keyboard shortcuts

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