Hi! I have two packages server and client. All belongs to different
repos. In this packages i have internal/errors dir with errors.proto
file
Both of them contains go_package option and package unique

option go_package = "xxx.org/server/internal/errors";
package server.errors;

option go_package = "xxx.org/client/internal/errors";
package client.errors;

why program that used client and server in the same time have such message

2020/09/29 10:50:18 WARNING: proto: file "errors.proto" is already registered
        previously from: ""xxx.org/server/internal/errors"
        currently from:  ""xxx.org/client/internal/errors"
A future release will panic on registration conflicts. See:
https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CACaajQvUnd_2SY6_cR%3DcqwOeN2x8-Ze6b9vwOK5vv9HZtD%3Dr_Q%40mail.gmail.com.

Reply via email to