Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSemanticVersion ¶
func GetSemanticVersion() string
GetSemanticVersion returns the package version
Types ¶
type Prediction ¶
type Prediction uint8
Prediction describes a weather prediction.
const ( Sunny Prediction = iota Rain Overcast Snow Unknown )
The supported weather prediction types (enum type).
func PredictAtCoords ¶
func PredictAtCoords(lat, long float64) (Prediction, error)
PredictAtCoords returns a weather prediction for the specified GPS coordinates.
func (Prediction) ToString ¶
func (p Prediction) ToString() string
ToString returns the corresponding weather as a string
Click to show internal directories.
Click to hide internal directories.