Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(197)

Unified Diff: compiler/plugin/plugin.pb.go

Issue 4627078: goprotobuf: updated to `key:"value"` struct tag syntax
Patch Set: diff -r fa1080cfc0a4 https://goprotobuf.googlecode.com/hg Created 14 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compiler/generator/generator.go ('k') | compiler/plugin/plugin.pb.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/plugin/plugin.pb.go
===================================================================
--- a/compiler/plugin/plugin.pb.go
+++ b/compiler/plugin/plugin.pb.go
@@ -14,9 +14,9 @@
var _ os.Error
type CodeGeneratorRequest struct {
- FileToGenerate []string "PB(bytes,1,rep,name=file_to_generate)"
- Parameter *string "PB(bytes,2,opt,name=parameter)"
- ProtoFile []*google_protobuf.FileDescriptorProto "PB(bytes,15,rep,name=proto_file)"
+ FileToGenerate []string `proto:"PB(bytes,1,rep,name=file_to_generate)"`
+ Parameter *string `proto:"PB(bytes,2,opt,name=parameter)"`
+ ProtoFile []*google_protobuf.FileDescriptorProto `proto:"PB(bytes,15,rep,name=proto_file)"`
XXX_unrecognized []byte
}
func (this *CodeGeneratorRequest) Reset() {
@@ -24,8 +24,8 @@
}
type CodeGeneratorResponse struct {
- Error *string "PB(bytes,1,opt,name=error)"
- File []*CodeGeneratorResponse_File "PB(bytes,15,rep,name=file)"
+ Error *string `proto:"PB(bytes,1,opt,name=error)"`
+ File []*CodeGeneratorResponse_File `proto:"PB(bytes,15,rep,name=file)"`
XXX_unrecognized []byte
}
func (this *CodeGeneratorResponse) Reset() {
@@ -33,9 +33,9 @@
}
type CodeGeneratorResponse_File struct {
- Name *string "PB(bytes,1,opt,name=name)"
- InsertionPoint *string "PB(bytes,2,opt,name=insertion_point)"
- Content *string "PB(bytes,15,opt,name=content)"
+ Name *string `proto:"PB(bytes,1,opt,name=name)"`
+ InsertionPoint *string `proto:"PB(bytes,2,opt,name=insertion_point)"`
+ Content *string `proto:"PB(bytes,15,opt,name=content)"`
XXX_unrecognized []byte
}
func (this *CodeGeneratorResponse_File) Reset() {
« no previous file with comments | « compiler/generator/generator.go ('k') | compiler/plugin/plugin.pb.golden » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b