From 80dff7bdf141a67acf65957a34010cb59d48e9f2 Mon Sep 17 00:00:00 2001 From: "patrick.qian" Date: Wed, 22 Jun 2022 18:24:47 +0200 Subject: [PATCH] add go package for gonavitia --- request.proto | 1 + response.proto | 1 + stat.proto | 1 + task.proto | 1 + type.proto | 1 + 5 files changed, 5 insertions(+) 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;