1// Copyright 2018 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5syntax = "proto2"; 6 7package goproto.protoc.import_public; 8 9option go_package = "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/import_public"; 10 11import public "cmd/protoc-gen-go/testdata/import_public/sub/a.proto"; // Different Go package. 12import public "cmd/protoc-gen-go/testdata/import_public/b.proto"; // Same Go package. 13 14message Public { 15 optional goproto.protoc.import_public.sub.M m = 1; 16 optional goproto.protoc.import_public.sub.E e = 2; 17 optional Local local = 3; 18} 19