Comment unused imports

This commit is contained in:
Andrew Scott 2022-07-26 03:52:18 -04:00
parent 4ddc054c64
commit 6b89ae295b
Signed by: a
GPG key ID: 3EB62D0BBB8DB381
3 changed files with 14 additions and 13 deletions

View file

@ -4,14 +4,16 @@ package weather;
option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto"; option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto";
import "location_types.proto"; //import "location_types.proto";
//import "units.proto"
message RequestCurrent { message RequestCurrent {
//LocationType location_type = 1; NOT IMPLEMENTED YET //LocationType location_type = 1; NOT IMPLEMENTED YET
//Units units = 2; NOT IMPLEMENTED YET
string city = 1; string city = 1;
// optional string zip_code = 2; NOT IMPLEMENTED YET // optional string zip_code = 2; NOT IMPLEMENTED YET
optional string state = 2; // US Only // optional string state = 2; // US Only / NOT IMPLEMENTED YET
optional string country = 3; // Must be ISO 3166 country code // optional string country = 3; // Must be an ISO 3166 code / NOT IMPLEMENTED YET
} }
message SendCurrent { message SendCurrent {

View file

@ -4,14 +4,17 @@ package weather;
option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto"; option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto";
import "location_types.proto"; //import "location_types.proto";
//import "units.proto"
message RequestExtended { message RequestExtended {
LocationType location_type = 1; //LocationType location_type = 1; NOT IMPLEMENTED YET
string location = 2; // zip/postal code, city name, or comma separated coords "-81.2,40.5" //Units units = 2; NOT IMPLEMENTED YET
optional string state = 3; // US Only string city = 1;
optional string country = 4; // Must be ISO 3166 country code // optional string zip_code = 2; NOT IMPLEMENTED YET
uint32 days = 5; // optional string state = 2; // US Only / NOT IMPLEMENTED YET
// optional string country = 3; // Must be ISO 3166 code / NOT IMPLEMENTED YET
uint32 days = 2;
} }
message SendExtended { message SendExtended {

View file

@ -9,11 +9,7 @@ enum LocationType {
LOCATION_CITY = 1; LOCATION_CITY = 1;
LOCATION_ZIP = 2; LOCATION_ZIP = 2;
LOCATION_COORDS = 3; LOCATION_COORDS = 3;
/*
* NOT YET IMPLEMENTED
*
LOCATION_CITY_STATE = 4; LOCATION_CITY_STATE = 4;
LOCATION_CITY_COUNTRY = 5; LOCATION_CITY_COUNTRY = 5;
LOCATION_ZIP_COUNTRY = 6; LOCATION_ZIP_COUNTRY = 6;
*/
} }