region

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Code

type Code string
const (
	Africa   Code = "2"
	Americas Code = "19"
	Asia     Code = "142"
	Europe   Code = "150"
	Oceania  Code = "9"
)

func (Code) Region

func (r Code) Region() Region

type Region

type Region struct {
	Code Code
	Name string
}

type Regions

type Regions map[Code]Region

func List

func List() Regions

Jump to

Keyboard shortcuts

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