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

Issue 6348099: Added Encoder, Decoder types and test.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by skelterjohn
Modified:
11 years, 10 months ago
Reviewers:
aram, mp+114659
Visibility:
Public.

Description

Added Encoder, Decoder types and test. https://code.launchpad.net/~jasmuth/mgo/skj-mgo-bson/+merge/114659 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -3 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M bson/bson.go View 1 chunk +1 line, -1 line 0 comments Download
M bson/bson_test.go View 2 chunks +24 lines, -1 line 0 comments Download
M bson/decode.go View 2 chunks +41 lines, -0 lines 1 comment Download
M bson/encode.go View 3 chunks +22 lines, -1 line 1 comment Download

Messages

Total messages: 2
skelterjohn
Please take a look.
11 years, 10 months ago (2012-07-12 15:09:23 UTC) #1
aram
11 years, 10 months ago (2012-07-12 15:22:19 UTC) #2
https://codereview.appspot.com/6348099/diff/1/bson/decode.go
File bson/decode.go (right):

https://codereview.appspot.com/6348099/diff/1/bson/decode.go#newcode715
bson/decode.go:715: return
remove named return and replace the body with:

return &Decoder{r: r}

https://codereview.appspot.com/6348099/diff/1/bson/encode.go
File bson/encode.go (right):

https://codereview.appspot.com/6348099/diff/1/bson/encode.go#newcode432
bson/encode.go:432: return
Ditto as for NewDecoder.
Sign in to reply to this message.

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