2018-09-17 15:11:24 -07:00
|
|
|
// 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.
|
|
|
|
|
2018-10-09 12:49:13 -07:00
|
|
|
syntax = "proto2";
|
2018-09-17 15:11:24 -07:00
|
|
|
|
|
|
|
package goproto.protoc.import_public;
|
|
|
|
|
2019-05-13 23:55:40 -07:00
|
|
|
option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/import_public";
|
2018-09-17 15:11:24 -07:00
|
|
|
|
2020-02-04 15:03:30 -08:00
|
|
|
import public "cmd/protoc-gen-go/testdata/import_public/sub/a.proto"; // Different Go package.
|
|
|
|
import public "cmd/protoc-gen-go/testdata/import_public/b.proto"; // Same Go package.
|
2018-09-17 15:11:24 -07:00
|
|
|
|
|
|
|
message Public {
|
2018-10-09 12:49:13 -07:00
|
|
|
optional goproto.protoc.import_public.sub.M m = 1;
|
|
|
|
optional goproto.protoc.import_public.sub.E e = 2;
|
|
|
|
optional Local local = 3;
|
2018-09-17 15:11:24 -07:00
|
|
|
}
|