mirror of
https://codeberg.org/andyscott/OpenWeather-gRPC-API.git
synced 2024-12-21 12:13:09 -05:00
Update test client for changes to server
This commit is contained in:
parent
51c183116e
commit
1eb36697f0
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ func doLocation(c pb.WeatherServiceClient) {
|
||||||
LocationType: pb.LocationType_LOCATION_TYPE_CITY,
|
LocationType: pb.LocationType_LOCATION_TYPE_CITY,
|
||||||
Location: &pb.OneOfLocation{
|
Location: &pb.OneOfLocation{
|
||||||
LocationId: &pb.OneOfLocation_City{
|
LocationId: &pb.OneOfLocation_City{
|
||||||
City: "Corvallis",
|
City: "Seattle",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -18,7 +18,7 @@ func main() {
|
||||||
|
|
||||||
c := pb.NewWeatherServiceClient(conn)
|
c := pb.NewWeatherServiceClient(conn)
|
||||||
|
|
||||||
//doCurrent(c)
|
doCurrent(c)
|
||||||
//doFiveDay(c)
|
//doFiveDay(c)
|
||||||
doLocation(c)
|
//doLocation(c)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue