model

package
v0.0.0-...-443043a Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorMessage

type ErrorMessage struct {
	Message string `json:"message"`
}

ErrorMessage entity

type Forecast

type Forecast struct {
	Day         string `json:"day"`
	Temperature string `json:"temperature"`
	Wind        string `json:"wind"`
}

Forecast entity

type Weather

type Weather struct {
	FeelsLikeC      string      `json:"FeelsLikeC"`
	FeelsLikeF      string      `json:"FeelsLikeF"`
	Cloudcover      string      `json:"cloudcover"`
	Humidity        string      `json:"humidity"`
	ObservationTime string      `json:"observation_time"`
	PrecipMM        string      `json:"precipMM"`
	Pressure        string      `json:"pressure"`
	TempC           string      `json:"temp_C"`
	TempF           string      `json:"temp_F"`
	UvIndex         int         `json:"uvIndex"`
	Visibility      string      `json:"visibility"`
	WeatherCode     string      `json:"weatherCode"`
	Temperature     string      `json:"temperature"`
	Wind            string      `json:"wind"`
	Description     string      `json:"description"`
	Forecast        [3]Forecast `json:"forecast"`
}

Weather entity

Jump to

Keyboard shortcuts

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