internal/testprotos: add missing go_package option

Change-Id: If28f15266349b2c05c209202c38bc98dc43f7dbd
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/219297
Reviewed-by: Joe Tsai <joetsai@google.com>
This commit is contained in:
Damien Neil 2020-02-12 23:38:12 -08:00
parent baf64d5536
commit aa735f3cca
2 changed files with 7 additions and 2 deletions

View File

@ -5,7 +5,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: internal/testprotos/required/required.proto
package goproto_proto_testrequired
package required
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@ -841,7 +841,10 @@ var file_internal_testprotos_required_required_proto_rawDesc = []byte{
0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x72,
0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x15, 0x0a, 0x05, 0x47, 0x72,
0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01,
0x76,
0x76, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
}
var (

View File

@ -6,6 +6,8 @@ syntax = "proto2";
package goproto.proto.testrequired;
option go_package = "google.golang.org/protobuf/internal/testprotos/required";
message Int32 {
required int32 v = 1;
}