Discover Packages
gitea.com/palagend/redoron
common
models
package
Version:
v0.0.0-...-6297621
Opens a new window with list of versions in this module.
Published: Mar 12, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type City struct {
Name string `json:"city_name"`
Code string `json:"city_code"`
}
type CityInfo struct {
CityName string `json:"city"`
CityCode string `json:"cityKey"`
Parent string `json:"parent"`
}
type Data struct {
Moisture string `json:"shidu"`
Quality string `json:"quality"`
Cold string `json:"ganmao"`
Yesterday Day `json:"yesterday"`
Forecast []Day `json:"forecast"`
}
type Response struct {
Status int `json:"status"`
CityInfo CityInfo `json:"cityInfo"`
Data Data `json:"data"`
Date string `json:"date"`
Message string `json:"message"`
Count int `json:"count"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.