This commit is contained in:
Dominic Wong
2021-09-06 13:52:05 +01:00
parent d378ef2de5
commit ee5bd3a23f
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.15.6
// protoc v3.15.5
// source: proto/weather.proto
package weather
@@ -253,7 +253,7 @@ type ForecastResponse struct {
Timezone string `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty"`
// the local time
LocalTime string `protobuf:"bytes,7,opt,name=local_time,json=localTime,proto3" json:"local_time,omitempty"`
// forecase for the next number of days
// forecast for the next number of days
Forecast []*Forecast `protobuf:"bytes,8,rep,name=forecast,proto3" json:"forecast,omitempty"`
}
@@ -429,7 +429,7 @@ type NowResponse struct {
Daytime bool `protobuf:"varint,14,opt,name=daytime,proto3" json:"daytime,omitempty"`
// the weather condition
Condition string `protobuf:"bytes,15,opt,name=condition,proto3" json:"condition,omitempty"`
// the related icon
// the URL of the related icon. Simply prefix with either http or https to use it
IconUrl string `protobuf:"bytes,16,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
// wind in mph
WindMph float64 `protobuf:"fixed64,17,opt,name=wind_mph,json=windMph,proto3" json:"wind_mph,omitempty"`

View File

@@ -102,7 +102,7 @@ message NowResponse {
bool daytime = 14;
// the weather condition
string condition = 15;
// the related icon
// the URL of the related icon. Simply prefix with either http or https to use it
string icon_url = 16;
// wind in mph
double wind_mph = 17;