region

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 3 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 {
	Id          string      `yaml:"id"`
	Name        string      `yaml:"name"`
	Description string      `yaml:"description"`
	Districts   []Districts `yaml:"districts"`
}

type Districts

type Districts struct {
	Id   string   `yaml:"id"`
	Name []string `yaml:"name"`
}

type Region

type Region struct {
	Id   string `yaml:"id"`
	Name string `yaml:"name"`
	City []City `yaml:"city"`
}

func GetRegion

func GetRegion(configName string) Region

Jump to

Keyboard shortcuts

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