mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +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>
17 lines
499 B
Protocol Buffer
17 lines
499 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.import_public;
|
|
|
|
option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/import_public";
|
|
|
|
import "cmd/protoc-gen-go/testdata/import_public/sub/a.proto";
|
|
|
|
message Local {
|
|
optional goproto.protoc.import_public.sub.M m = 1;
|
|
optional goproto.protoc.import_public.sub.E e = 2;
|
|
}
|