Deprecated: Use the "google.golang.org/protobuf" module instead.

package documentation

import "github.com/golang/protobuf/protoc-gen-go"

A plugin for the Google protocol buffer compiler to generate Go code.
Run it by building this program and putting it in your path with the name
	protoc-gen-go
That word 'go' at the end becomes part of the option string set for the
protocol compiler, so once the protocol compiler (protoc) is installed
you can run
	protoc --go_out=output_directory input_directory/file.proto
to generate Go bindings for the protocol defined by file.proto.
With that input, the output will be written to
	output_directory/file.pb.go

The generated code is documented in the package comment for
the library.

See the README and documentation for protocol buffers to learn more:
	https://developers.google.com/protocol-buffers/

protoc-gen-go is a plugin for the Google protocol buffer compiler to generate Go code. Run it by building this program and putting it in your path with the name

protoc-gen-go

That word 'go' at the end becomes part of the option string set for the protocol compiler, so once the protocol compiler (protoc) is installed you can run

protoc --go_out=output_directory input_directory/file.proto

to generate Go bindings for the protocol defined by file.proto. With that input, the output will be written to

output_directory/file.pb.go

The generated code is documented in the package comment for the library.

See the README and documentation for protocol buffers to learn more:

https://developers.google.com/protocol-buffers/

Index

Source Files

doc.go link_grpc.go main.go

Directories

PathSynopsis
protoc-gen-go/descriptorPackage descriptor is a generated protocol buffer package.
protoc-gen-go/generatorThe code generator for the plugin for the Google protocol buffer compiler.
protoc-gen-go/grpcPackage grpc outputs gRPC service descriptions in Go code.
protoc-gen-go/pluginPackage plugin_go is a generated protocol buffer package.
Version
v1.0.0
Published
Jan 25, 2018
Platform
windows/amd64
Imports
5 packages
Last checked
45 minutes ago

Tools for package owners.