Movatterモバイル変換


[0]ホーム

URL:


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

protoc-gen-go

command
v1.5.4Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License:BSD-3-ClauseImports:6Imported by:23

Details

Repository

github.com/golang/protobuf

Links

Documentation

Overview

protoc-gen-go is a plugin for the Google protocol buffer compiler to generateGo code. Install it by building this program and making it accessible withinyour PATH with the name:

protoc-gen-go

The 'go' suffix becomes part of the argument for the protocol compiler,such that it can be invoked as:

protoc --go_out=paths=source_relative:. path/to/file.proto

This generates Go bindings for the protocol buffer defined by file.proto.With that input, the output will be written to:

path/to/file.pb.go

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

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

Source Files

View all Source files

Directories

PathSynopsis
Package generator is deprecated.
Package generator is deprecated.
internal/remap
Package remap handles tracking the locations of Go tokens in a source text across a rewrite by the Go formatter.
Package remap handles tracking the locations of Go tokens in a source text across a rewrite by the Go formatter.
Package grpc is deprecated.
Package grpc is deprecated.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp