From: Russ Cox Date: Fri, 10 Nov 2017 17:58:31 +0000 (-0500) Subject: cmd/test2json: document time.Time JSON format X-Git-Tag: go1.10beta1~319 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=36ef06cc10005050d7b6f444d0ef3675f2e87fbf;p=gostls13.git cmd/test2json: document time.Time JSON format This is already documented in the time.Time package but people might not look there. Followup to CL 76872, which I submitted accidentally (Gerrit has placed the Submit button next to Reply again.) Change-Id: Ibfd6a4da241982d591a8698282a0c15fe9f2e775 Reviewed-on: https://go-review.googlesource.com/77010 Run-TryBot: Russ Cox Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/test2json/main.go b/src/cmd/test2json/main.go index 0c8193760f..3d7c5601a3 100644 --- a/src/cmd/test2json/main.go +++ b/src/cmd/test2json/main.go @@ -24,7 +24,7 @@ // corresponding to the Go struct: // // type TestEvent struct { -// Time time.Time +// Time time.Time // encodes as an RFC3339-format string // Event string // Package string // Test string