Skip to content

Commit 36ef06c

Browse files
committed
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 <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 2f62fe6 commit 36ef06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/test2json/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// corresponding to the Go struct:
2525
//
2626
// type TestEvent struct {
27-
// Time time.Time
27+
// Time time.Time // encodes as an RFC3339-format string
2828
// Event string
2929
// Package string
3030
// Test string

0 commit comments

Comments
 (0)