postals

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postal

type Postal struct {
	X    float64 `json:"x"`
	Y    float64 `json:"y"`
	Code *string `json:"code"`
}

func ByCode added in v0.8.19

func ByCode(code string) (*Postal, bool)

func (*Postal) Point

func (p *Postal) Point() orb.Point

type Postals

type Postals = *coords.CoordsRO[*Postal]

func New

func New(cfg *config.Config) (Postals, error)

func NewForTests

func NewForTests() (Postals, error)

Jump to

Keyboard shortcuts

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