CNJDatabase

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistrictInfo

type DistrictInfo struct {
	SourceUnit string
	UF         string
	District   string
}

DistrictInfo returns three basic infos:

sourceUnit: the name of the source unit
uf: the uf of the given source unit
district: the full uf name

func FetchDistrict

func FetchDistrict(districtCode string) (DistrictInfo, error)

FetchDistrict returns DistrictInfo from a given district code

Jump to

Keyboard shortcuts

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