Registry / serialization / emicklei-proto

emicklei-proto

JSON →
library1.14.3gogounverified

Package proto provides parsing and processing of Protocol Buffers (.proto) files.

go get github.com/emicklei/proto
INSTALL
IMPORT
SIG · EMICKLEI-PROTO
E
emicklei-proto
serializationgov1.14.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

proto
github.com/emicklei/proto

Parse a .proto file definition.

package main import ( "fmt" "github.com/emicklei/proto" ) func main() { reader := strings.NewReader(`syntax = "proto3"; message Foo { string bar = 1; }`) parser := proto.NewParser(reader) definition, err := parser.Parse() if err != nil { panic(err) } fmt.Printf("%+v\n", definition) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.14.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
emicklei-proto — go get emicklei-proto · libregistry