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

Unified Diff: proto/text.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 | « proto/testdata/test.pb.go.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: proto/text.go
===================================================================
--- a/proto/text.go
+++ b/proto/text.go
@@ -57,7 +57,7 @@
func (w *textWriter) Write(p []byte) (n int, err os.Error) {
n, err = len(p), nil
- frags := strings.Split(string(p), "\n", -1)
+ frags := strings.Split(string(p), "\n")
if w.compact {
w.writer.Write([]byte(strings.Join(frags, " ")))
return
« no previous file with comments | « proto/testdata/test.pb.go.golden ('k') | no next file » | no next file with comments »

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