1
0
mirror of https://github.com/golang/go synced 2024-10-02 08:18:32 -06:00

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 <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Russ Cox 2017-11-10 12:58:31 -05:00
parent 2f62fe60d6
commit 36ef06cc10

View File

@ -24,7 +24,7 @@
// corresponding to the Go struct: // corresponding to the Go struct:
// //
// type TestEvent struct { // type TestEvent struct {
// Time time.Time // Time time.Time // encodes as an RFC3339-format string
// Event string // Event string
// Package string // Package string
// Test string // Test string