Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Issue 2899993002: [logdog/common/types] custom JSON encoding to allow streamaddr to be zero. (Closed)

Created:
3 years, 7 months ago by iannucci
Modified:
3 years, 7 months ago
Reviewers:
dnj
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

[logdog/common/types] custom JSON encoding to allow streamaddr to be zero. R=dnj@chromium.org BUG= Review-Url: https://codereview.chromium.org/2899993002 Committed: https://github.com/luci/luci-go/commit/2dc055c583df335f62536db98bcffd3afb739795

Patch Set 1 #

Patch Set 2 : support embedded struct #

Total comments: 1

Patch Set 3 : use omitempty, duh! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -3 lines) Patch
M logdog/common/types/streamaddr.go View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M logdog/common/types/streamaddr_test.go View 1 2 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
iannucci
3 years, 7 months ago (2017-05-23 09:19:24 UTC) #1
dnj
https://codereview.chromium.org/2899993002/diff/20001/logdog/common/types/streamaddr.go File logdog/common/types/streamaddr.go (right): https://codereview.chromium.org/2899993002/diff/20001/logdog/common/types/streamaddr.go#newcode77 logdog/common/types/streamaddr.go:77: type jsonStreamAddr struct { This is unfortunate. Are you ...
3 years, 7 months ago (2017-05-23 15:28:19 UTC) #10
iannucci
On 2017/05/23 15:28:19, dnj wrote: > https://codereview.chromium.org/2899993002/diff/20001/logdog/common/types/streamaddr.go > File logdog/common/types/streamaddr.go (right): > > https://codereview.chromium.org/2899993002/diff/20001/logdog/common/types/streamaddr.go#newcode77 > ...
3 years, 7 months ago (2017-05-23 16:38:02 UTC) #11
iannucci
done... duh :D
3 years, 7 months ago (2017-05-23 16:41:04 UTC) #14
dnj
lgtm
3 years, 7 months ago (2017-05-23 16:49:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2899993002/40001
3 years, 7 months ago (2017-05-23 17:10:39 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 17:18:14 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-go/commit/2dc055c583df335f62536db98bcffd3afb739795

Powered by Google App Engine
This is Rietveld 408576698