data

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: BSD-3-Clause-Clear Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const USStateJSON = `` /* 5138-byte string literal not displayed */

USStateJSON is a JSON representation of all US States & metadata.

Variables

This section is empty.

Functions

This section is empty.

Types

type Circuit

type Circuit struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Circuit represents a circuit, duh.

func GetCircuitType

func GetCircuitType(search string) (r Circuit, e error)

GetCircuitType gets a circuit type, duh.

type Country

type Country struct {
	FullName  string `json:"fullName"`
	ShortName string `json:"shortName"`
	ISO       string `json:"iso"`
}

Country represents a country, duh.

func GetCountry

func GetCountry(search string) (r Country, e error)

GetCountry gets a country, duh.

type USState

type USState struct {
	FullName   string `json:"fullName"`
	ShortName  string `json:"shortName"`
	RegionID   string `json:"regionID"`
	DivisionID string `json:"divisionID"`
	FIPSCode   string `json:"fipsCode"`
}

USState represents a US State, duh.

func GetState

func GetState(search string) (r USState, e error)

GetState gets a state, duh.

Jump to

Keyboard shortcuts

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