diff --git a/api/proto/message/message.proto b/api/proto/message/message.proto index 0368aca75..8bbf30f7c 100644 --- a/api/proto/message/message.proto +++ b/api/proto/message/message.proto @@ -1,5 +1,6 @@ syntax = "proto3"; package message; +option go_package="./;message"; // Client is the service used for any client-facing requests. diff --git a/api/service/legacysync/downloader/proto/downloader.proto b/api/service/legacysync/downloader/proto/downloader.proto index f75a1ab14..0706c0e81 100644 --- a/api/service/legacysync/downloader/proto/downloader.proto +++ b/api/service/legacysync/downloader/proto/downloader.proto @@ -1,6 +1,7 @@ syntax = "proto3"; package downloader; +option go_package="./;downloader"; // Downloader is the service used for downloading/sycning blocks. service Downloader { diff --git a/p2p/stream/protocols/sync/message/msg.proto b/p2p/stream/protocols/sync/message/msg.proto index c55d64127..297df6085 100644 --- a/p2p/stream/protocols/sync/message/msg.proto +++ b/p2p/stream/protocols/sync/message/msg.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package harmony.stream.sync.message ; -option go_package = "message"; +option go_package = "./;message"; message Message { oneof req_or_resp {