]> Cypherpunks repositories - gostls13.git/commit
time: rewrite ExampleDuration_Nanoseconds to be more idiomatic.
authorRob Pike <r@golang.org>
Wed, 27 Feb 2019 00:41:48 +0000 (11:41 +1100)
committerRob Pike <r@golang.org>
Wed, 27 Feb 2019 02:20:28 +0000 (02:20 +0000)
commit9426d8c63311c17483d93a20efc26e6dbb759772
tree66d5c6ebd4c3990ad8f2e986c7e75b4037e9fbab
parent6fa7669fd7d9994ef20e40f41a9771d664d00c5e
time: rewrite ExampleDuration_Nanoseconds to be more idiomatic.

Fix the punctuation and use the proper units for microseconds,
while explaining the incorrect but common variant 'us'.

Change-Id: I9e96694ef27ab4761efccd8616ac7b6700f60d39
Reviewed-on: https://go-review.googlesource.com/c/163917
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/time/example_test.go