mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-28 18:25:46 +00:00
220c20246b
Package protogen provides support for writing protoc plugins. A "plugin" in this case is a program run by protoc to generate output. The protoc-gen-go command is a protoc plugin to generate Go code. cmd/protoc-gen-go/golden_test.go is mostly a straight copy from the golden test in github.com/golang/protobuf. Change-Id: I332d0df1e4b60bb8cd926320b8721e16b99a4b71 Reviewed-on: https://go-review.googlesource.com/130175 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
13 lines
314 B
Protocol Buffer
13 lines
314 B
Protocol Buffer
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
syntax = "proto2";
|
|
|
|
package goproto.protoc.proto2;
|
|
|
|
option go_package = "google.golang.org/proto/cmd/protoc-gen-go/testdata/proto2";
|
|
|
|
message Message {
|
|
}
|