mirror of
https://codeberg.org/andyscott/OpenWeather-gRPC-API.git
synced 2024-12-21 12:13:09 -05:00
Enum for selecting units
This commit is contained in:
parent
707a4c8a7d
commit
27b125f6a0
1 changed files with 12 additions and 0 deletions
12
proto/units.proto
Normal file
12
proto/units.proto
Normal file
|
@ -0,0 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package weather;
|
||||
|
||||
option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto";
|
||||
|
||||
enum Units {
|
||||
UNITS_UNSPECIFIED = 0;
|
||||
UNITS_STANDARD = 1;
|
||||
UNITS_METRIC = 2;
|
||||
UNITS_IMPERIAL = 3;
|
||||
}
|
Loading…
Reference in a new issue