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

Issue 2545041: encoding/pem: split line based logic into another package. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by agl1
Modified:
14 years, 5 months ago
Reviewers:
rsc, r2
CC:
golang-dev
Visibility:
Public.

Description

encoding/pem: split line based logic into another package. I needed the lineWriter for OpenPGP's PEM-but-not-quite format. Since the OpenPGP code is streaming based, I also needed a line reader so I put that in there too.

Patch Set 1 #

Patch Set 2 : code review 2545041: encoding/pem: split line based logic into another package. #

Patch Set 3 : code review 2545041: encoding/pem: split line based logic into another package. #

Patch Set 4 : code review 2545041: encoding/pem: split line based logic into another package. #

Patch Set 5 : code review 2545041: encoding/pem: split line based logic into another package. #

Patch Set 6 : code review 2545041: encoding/pem: split line based logic into another package. #

Patch Set 7 : code review 2545041: encoding/pem: split line based logic into another package. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -119 lines) Patch
M src/pkg/encoding/pem/pem.go View 1 2 3 4 5 4 chunks +4 lines, -50 lines 0 comments Download
M src/pkg/encoding/pem/pem_test.go View 1 2 3 4 3 chunks +8 lines, -69 lines 0 comments Download

Messages

Total messages: 6
agl1
(I looked around for a LineReader already in pkg/, but there don't seem to be ...
14 years, 5 months ago (2010-10-16 17:31:02 UTC) #1
r2
The LineBreaker will be nice to have. I'm uncertain this is the right home for ...
14 years, 5 months ago (2010-10-16 18:12:54 UTC) #2
agl1
On Sat, Oct 16, 2010 at 2:12 PM, Rob 'Commander' Pike <r@google.com> wrote: > The ...
14 years, 5 months ago (2010-10-16 18:44:14 UTC) #3
r2
On Oct 16, 2010, at 11:44 AM, Adam Langley wrote: > On Sat, Oct 16, ...
14 years, 5 months ago (2010-10-16 19:03:38 UTC) #4
agl1
On Sat, Oct 16, 2010 at 2:57 PM, Rob 'Commander' Pike <r@google.com> wrote: > My ...
14 years, 5 months ago (2010-10-17 13:22:34 UTC) #5
rsc
14 years, 5 months ago (2010-10-18 15:48:13 UTC) #6
<bikeshed>

I'd prefer to call this package line, because most
package names are singular, and then the names
can be the less repetitive

line.Reader
line.Writer
line.NewReader
line.NewWriter

</bikeshed>

</russ>
Sign in to reply to this message.

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