]> Cypherpunks repositories - gostls13.git/commit
time: condense, expand Time.Unix example
authorRuss Cox <rsc@golang.org>
Wed, 6 Dec 2017 02:05:52 +0000 (21:05 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 6 Dec 2017 03:57:37 +0000 (03:57 +0000)
commitbb22a697ab30358605292f435ca75d1badcb212c
tree272f0194be47557cf02b47e37d80ea44dea349eb
parentf6be5216279ac0837f895eaeb55be5e9f4ac3ea9
time: condense, expand Time.Unix example

The new example is shorter but illustrates the
interesting parts of the Unix function and methods.

Change-Id: Ief8ec38909d4ed7829e8d3da58e7b7f712537f99
Reviewed-on: https://go-review.googlesource.com/82079
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/time/example_test.go