continent

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: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Has

func Has(c string) bool

Types

type Code

type Code string
const (
	Africa       Code = "AF"
	NorthAmerica Code = "NA"
	Oceania      Code = "OC"
	Antarctica   Code = "AN"
	Asia         Code = "AS"
	Europe       Code = "EU"
	SouthAmerica Code = "SA"
)

func (Code) Continent

func (c Code) Continent() Continent

type Continent

type Continent struct {
	Code Code
	Name string
}

type Continents

type Continents map[Code]Continent

func List

func List() Continents

Jump to

Keyboard shortcuts

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