Skip to content

Instantly share code, notes, and snippets.

@wuman
Created November 25, 2013 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wuman/7637589 to your computer and use it in GitHub Desktop.
Save wuman/7637589 to your computer and use it in GitHub Desktop.
Patch to protobuf for goprotobuf issue #32 (https://code.google.com/p/goprotobuf/issues/detail?id=32).
Index: src/google/protobuf/descriptor.proto
===================================================================
--- src/google/protobuf/descriptor.proto (revision 505)
+++ src/google/protobuf/descriptor.proto (working copy)
@@ -281,6 +281,8 @@
// placed. There is no default.
optional string go_package = 11;
+ // Sets the Go import path of structs generated from this .proto file.
+ optional string go_import_path = 12;
// Should generic services be generated in each language? "Generic" services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment