signed vs unsigned integers #392
-
|
Hi, In particular, I am trying to use the protobuf example to parse some .proto files, but one of them has a message constructed like the following: The parser does not know that the Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I typically parse into |
Beta Was this translation helpful? Give feedback.
The lexer doesn't handle
big.Int, it's the parser, and it works becausebig.Intimplementsencoding.TextUnmarshalerwhich Participle supports natively. You just need to replaceintwith*big.Int.