proteus icon indicating copy to clipboard operation
proteus copied to clipboard

add support for `proteus:",(protobuf field id)"` in golang tag

Open liasece opened this issue 6 years ago • 2 comments

Now you can specify the ID of the peoto file in the following way:

type Example struct {
    Filed int32 \`proteus:",101"\`
}

This example will generate the following protobuf message.

message Example {
        int32 Filed = 101;
}

liasece avatar Mar 01 '19 08:03 liasece

Please rebase on the latest master - it should fix the CI.

dennwc avatar Mar 01 '19 17:03 dennwc

Add tests and example

liasece avatar Mar 02 '19 05:03 liasece