diff --git a/request.proto b/request.proto index fd475d2..51143ba 100644 --- a/request.proto +++ b/request.proto @@ -1,6 +1,7 @@ syntax = "proto2"; import "type.proto"; package pbnavitia; +option go_package = "./pbnavitia"; message CalendarsRequest { optional string start_date = 1; diff --git a/response.proto b/response.proto index 3bf8007..21e9981 100644 --- a/response.proto +++ b/response.proto @@ -2,6 +2,7 @@ syntax = "proto2"; import "type.proto"; package pbnavitia; +option go_package = "./pbnavitia"; enum CyclePathType { NoCycleLane = 0; diff --git a/stat.proto b/stat.proto index 2471b64..86a57bc 100644 --- a/stat.proto +++ b/stat.proto @@ -1,6 +1,7 @@ syntax = "proto2"; import "type.proto"; package pbnavitia; +option go_package = "./pbnavitia"; message StatParameter { optional string key = 1; diff --git a/task.proto b/task.proto index 04f1d10..65b899f 100644 --- a/task.proto +++ b/task.proto @@ -1,5 +1,6 @@ syntax = "proto2"; package pbnavitia; +option go_package = "./pbnavitia"; enum Action{ RELOAD = 0; diff --git a/type.proto b/type.proto index 5e493b0..4f6a9bc 100644 --- a/type.proto +++ b/type.proto @@ -1,5 +1,6 @@ syntax = "proto2"; package pbnavitia; +option go_package = "./pbnavitia"; enum NavitiaType { LINE = 1;