postals

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 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"`
}

type Postals

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

func New

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

func (*Postals) Closest

func (p *Postals) Closest(x, y float64) *Postal

Jump to

Keyboard shortcuts

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