iso3166

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 0 Imported by: 3

README

ISO-3166 - Basic ISO-3166 code structs for Golang

Go Report Card GitHub license GitHub contributors GitHub release GitHub go.mod Go version

Introduction

This package provides the latest ISO-3166 codes (iso.org)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistsIso3166ByAlpha2Code

func ExistsIso3166ByAlpha2Code(code string) bool

func ExistsIso3166ByAlpha3Code

func ExistsIso3166ByAlpha3Code(code string) bool

func ExistsIso3166ByNumericCode

func ExistsIso3166ByNumericCode(code string) bool

Types

type Iso3166

type Iso3166 struct {
	// contains filtered or unexported fields
}

type Isos3166

type Isos3166 map[string]*Iso3166

func (Isos3166) Iso3166ByAlpha2Code

func (iso Isos3166) Iso3166ByAlpha2Code(code string) *Iso3166

func (Isos3166) Iso3166ByAlpha3Code

func (iso Isos3166) Iso3166ByAlpha3Code(code string) *Iso3166

func (Isos3166) Iso3166ByNumericCode

func (iso Isos3166) Iso3166ByNumericCode(code string) *Iso3166

Jump to

Keyboard shortcuts

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