country

package
Version: v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(code string) bool

Exists returns true if country code exists.

func GetBbanStructure

func GetBbanStructure(code string) (bban.Structure, bool)

GetBbanStructure returns bban.Structure by given country code.

Types

type Country

type Country struct {
	Name       string
	Alpha2Code string
	Alpha3Code string
	Structure  bban.Structure
}

Country holds country related banking info.

func Get

func Get(code string) (Country, bool)

Get returns country by given country code.

func (Country) String

func (c Country) String() string

String returns text representation of country.

Source Files

Jump to

Keyboard shortcuts

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