mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-29 12:17:48 +00:00
2193e8df3b
Generate forwarders for default value const/vars defined in public imports: const Default_Message_Field = pubimport.Default_Message_Field Change-Id: Ife09e38ae6a674b4460dd6613a8264e23f30b277 Reviewed-on: https://go-review.googlesource.com/c/140897 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
17 lines
475 B
Protocol Buffer
17 lines
475 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 = "github.com/golang/protobuf/v2/cmd/protoc-gen-go/testdata/import_public";
|
|
|
|
import "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;
|
|
}
|