Categorygithub.com/alecthomas/protobuf
modulepackage
0.0.0-20241219105027-de3dee7478aa
Repository: https://github.com/alecthomas/protobuf.git
Documentation: pkg.go.dev

# README

A Protobuf IDL Parser for Go

This package contains a cleanroom Protobuf IDL source parser for Go using Participle.

This was extracted from an example within Participle.

Tests

Conformance tests are pulled from protoc and can be run with go test ./.... You can re-sync the upstream tests by running make -C testdata.

Compiler tests are end to end tests comparing generated FileDesciptors against protoc generated FileDescriptors. The protoc generated FileDescriptors are located in compiler/testdata/pb/*.pb and source files in compiler/testdata/*.proto. Protoc FileDescriptors can be regenerated with make -C compiler

# Packages

No description provided by the author
Package compiler creates FileDescriptorSets from a *.proto input and FileDescriptors for *parser.Proto input.
Package parser contains a protobuf parser.

# Structs

No description provided by the author