mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-06 10:01:25 +00:00
3c5fb5f879
Change the protoc flags such that when one of our test .proto files imports another, the filename is consistently specified relative to the module root. Change-Id: I690282795cef23347c8794c1c6357e4fe9560d8a Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/217762 Reviewed-by: Joe Tsai <joetsai@google.com>
16 lines
414 B
Protocol Buffer
16 lines
414 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.proto.test;
|
|
|
|
import "internal/testprotos/test/test.proto";
|
|
|
|
option go_package = "google.golang.org/protobuf/internal/testprotos/test";
|
|
|
|
extend TestAllExtensions {
|
|
optional int32 foreign_int32_extension = 2000;
|
|
}
|