gotoc

command module
v0.0.0-...-5aebcfc Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 License: BSD-3-Clause Imports: 12 Imported by: 0

README

gotoc

This is gotoc, a protocol buffer compiler written in Go.

This is only the parser side; you will need a plugin to generate code.

Quick Start

go get github.com/dsymonds/gotoc
go get github.com/golang/protobuf/protoc-gen-go
gotoc foo.proto

To enable gRPC output, use the -params flag:

gotoc -params plugins=grpc foo.proto

License

This is licensed under the BSD 3-Clause Licence. See the LICENSE file for more details.

Read more

Documentation

Overview

gotoc is a protocol buffer compiler. It reads and parses .proto files, and produces output that can be consumed by a protoc-compatible plugin (such as protoc-gen-go) to produce generated code.

Directories

Path Synopsis
Package ast defines the AST data structures used by gotoc.
Package ast defines the AST data structures used by gotoc.
Package gendesc generates descriptor protos from an AST.
Package gendesc generates descriptor protos from an AST.
Package parser parses proto files into gotoc's AST representation.
Package parser parses proto files into gotoc's AST representation.

Jump to

Keyboard shortcuts

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