Enum for selecting units

This commit is contained in:
Andrew Scott 2022-07-26 03:42:19 -04:00
parent 707a4c8a7d
commit 27b125f6a0
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

12
proto/units.proto Normal file
View 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;
}