protobuf

command module
v0.0.0-...-020c65a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
Package compiler creates FileDescriptorSets from a *.proto input and FileDescriptors for *parser.Proto input.
Package compiler creates FileDescriptorSets from a *.proto input and FileDescriptors for *parser.Proto input.
Package parser contains a protobuf parser.
Package parser contains a protobuf parser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL