location

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type City

type City struct {
	Name string `json:"name"`
	Flag string `json:"country_flag"`
}

func GetCity

func GetCity(code uint32) City

type Country

type Country struct {
	Code string `json:"code"`
	Name string `json:"name"`
	Flag string `json:"flag"`
}

func GetCountry

func GetCountry(code string) Country

type Region

type Region struct {
	Name string `json:"name"`
	Flag string `json:"flag"`
}

func GetRegion

func GetRegion(code string) Region

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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