From fd8e691f619d96640b24a8887b115ba793f58d16 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 19 Oct 2020 22:12:43 +0300 Subject: [PATCH] [#172] util/proto: Resolve protobuf compile warnings Signed-off-by: Alex Vanin --- util/proto/test/test.pb.go | 3 ++- util/proto/test/test.proto | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/util/proto/test/test.pb.go b/util/proto/test/test.pb.go index 63134e7..f581442 100644 --- a/util/proto/test/test.pb.go +++ b/util/proto/test/test.pb.go @@ -299,7 +299,8 @@ var file_util_proto_test_test_proto_rawDesc = []byte{ 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x66, 0x18, 0x06, 0x20, 0x03, 0x28, 0x04, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x46, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0x11, 0x5a, 0x0f, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, + 0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/util/proto/test/test.proto b/util/proto/test/test.proto index 8170b87..ea6125f 100644 --- a/util/proto/test/test.proto +++ b/util/proto/test/test.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package test; +option go_package = "util/proto/test"; + message Primitives { bytes field_a = 1; string field_b = 2;