Commit 68c8762b authored by Feng Xiao's avatar Feng Xiao

Merge pull request #489 from tamird/go-package-descriptor

Give descriptor.proto a go package
parents 7b354163 66463d7e
...@@ -753,9 +753,10 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() { ...@@ -753,9 +753,10 @@ void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() {
"ion\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004sp" "ion\032\206\001\n\010Location\022\020\n\004path\030\001 \003(\005B\002\020\001\022\020\n\004sp"
"an\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001(\t\022\031" "an\030\002 \003(\005B\002\020\001\022\030\n\020leading_comments\030\003 \001(\t\022\031"
"\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_det" "\n\021trailing_comments\030\004 \001(\t\022!\n\031leading_det"
"ached_comments\030\006 \003(\tBY\n\023com.google.proto" "ached_comments\030\006 \003(\tBe\n\023com.google.proto"
"bufB\020DescriptorProtosH\001\242\002\003GPB\252\002\'Google.P" "bufB\020DescriptorProtosH\001Z\ndescriptor\242\002\003GP"
"rotocolBuffers.DescriptorProtos", 4951); "B\252\002\'Google.ProtocolBuffers.DescriptorPro"
"tos", 4963);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"google/protobuf/descriptor.proto", &protobuf_RegisterTypes); "google/protobuf/descriptor.proto", &protobuf_RegisterTypes);
FileDescriptorSet::default_instance_ = new FileDescriptorSet(); FileDescriptorSet::default_instance_ = new FileDescriptorSet();
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
syntax = "proto2"; syntax = "proto2";
package google.protobuf; package google.protobuf;
option go_package = "descriptor";
option java_package = "com.google.protobuf"; option java_package = "com.google.protobuf";
option java_outer_classname = "DescriptorProtos"; option java_outer_classname = "DescriptorProtos";
option csharp_namespace = "Google.ProtocolBuffers.DescriptorProtos"; option csharp_namespace = "Google.ProtocolBuffers.DescriptorProtos";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment