Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Providers = wire.NewSet(NewOpenWeather, wire.Bind(new(Checker), new(*OpenWeather)))
Functions ¶
This section is empty.
Types ¶
type OpenWeather ¶
type OpenWeather struct {
// contains filtered or unexported fields
}
func NewOpenWeather ¶
func (*OpenWeather) CheckByCoord ¶
func (o *OpenWeather) CheckByCoord(lat float64, lon float64) (*Weather, error)
func (*OpenWeather) CheckByCurrentLocation ¶
func (o *OpenWeather) CheckByCurrentLocation() (*Weather, error)
type OpenWeatherResponse ¶
Click to show internal directories.
Click to hide internal directories.