geo

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	CountryName  string
	CountryCode  string // abbreviation
	ZipCode      string // postal code
	CityName     string
	StreetName   string
	StreetNumber string
}

Address holds information about a postal address

type AddressGenerator

type AddressGenerator interface {
	Generate() Address
	String() string
}

AddressGenerator can generate an address in the right format of a given country

Jump to

Keyboard shortcuts

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