go-protoparser
go-protoparser copied to clipboard
Yet another Go package which parses a Protocol Buffer file (proto2+proto3)
Why FieldNumber has string type? Can I expect strconv.AtoI always return nil error for FieldNumber?
Certain internal errors get thrown on parse issues, which makes it impossible to open a switch statement on them. This PR removes those, instead returning the latest error, which seems...
This is a quick first pass at using Bazel in `go-protoparser`. This makes the CI tests run via Bazel. You can do the same on your machine, by running `bazel...
Hello! I use Bazel to build a bunch of my personal projects, and at work as well. I like it a lot: https://bazel.build In particular, Bazel support for golang is...
## test case Here is a simple reprod: ```proto syntax = "proto3"; import "google/protobuf/descriptor.proto"; extend google.protobuf.ServiceOptions { string service_description = 51000; } service MyService{ option(service_description) = "description";; } ``` note...
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248 Persist...
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6. Release notes Sourced from actions/setup-go's releases. v6.0.0 What's Changed Breaking Changes Improve toolchain handling to ensure more reliable and consistent toolchain selection and management...
The language spec: https://protobuf.dev/reference/protobuf/edition-2023-spec/#constant States the following: > Constant > ``` > constant = fullIdent | ( [ "-" | "+" ] intLit ) | ( [ "-" | "+"...