Discover Packages
github.com/aronkst/go-telemetry-cep-temperature
internal
temperature_server
model
package
Version:
v0.0.0-...-7d3b41c
Opens a new window with list of versions in this module.
Published: Aug 22, 2024
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 Address struct {
PostalCode string `json:"cep"`
Street string `json:"logradouro"`
Complement string `json:"complemento"`
District string `json:"bairro"`
City string `json:"localidade"`
State string `json:"uf"`
}
type Coordinates struct {
Latitude string `json:"latitude"`
Longitude string `json:"longitude"`
}
type Temperature struct {
City string `json:"city"`
Celsius float64 `json:"temp_C"`
Fahrenheit float64 `json:"temp_F"`
Kelvin float64 `json:"temp_K"`
}
type Weather struct {
Temperature float64
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.