region

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const CodeNotFound = "NotFound"

Variables

This section is empty.

Functions

This section is empty.

Types

type AdministrativeRegion

type AdministrativeRegion struct {
	Code string `json:"code"` // The six-digit number of the specific administrative division.
	Name string `json:"name"` // The Chinese name of the specific administrative division.
}

func Parse

func Parse(code string) *AdministrativeRegion

Jump to

Keyboard shortcuts

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