flags

package module
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: BSD-3-Clause Imports: 0 Imported by: 19

README

go-whosonfirst-flags

Go tools for working Who's On First flags.

Important

Work in progress. Documentation to follow.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlternateGeometryFlag added in v0.2.0

type AlternateGeometryFlag interface {
	MatchesAny(...AlternateGeometryFlag) bool
	MatchesAll(...AlternateGeometryFlag) bool
	IsAlternateGeometry() bool
	Label() string
	String() string
}

type CustomFlag added in v0.2.0

type CustomFlag interface {
	MatchesAny(...CustomFlag) bool
	MatchesAll(...CustomFlag) bool
	String() string
}

type DateFlag added in v0.3.0

type DateFlag interface {
	MatchesAll(...DateFlag) bool
	MatchesAny(...DateFlag) bool
	InnerRange() (*int64, *int64)
	OuterRange() (*int64, *int64)
	String() string
}

type ExistentialFlag

type ExistentialFlag interface {
	StringFlag() string
	Flag() int64
	IsTrue() bool
	IsFalse() bool
	IsKnown() bool
	MatchesAny(...ExistentialFlag) bool
	MatchesAll(...ExistentialFlag) bool
	String() string
}

type PlacetypeFlag

type PlacetypeFlag interface {
	MatchesAny(...PlacetypeFlag) bool
	MatchesAll(...PlacetypeFlag) bool
	Placetype() string
	String() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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