]> Cypherpunks repositories - gostls13.git/commit
time: add examples for microseconds and milliseconds methods
authorPantelis Sampaziotis <psampaz@gmail.com>
Tue, 17 Sep 2019 19:01:36 +0000 (19:01 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 17 Sep 2019 20:11:12 +0000 (20:11 +0000)
commit575386d6324308d83f6f0782e61620ffe9f5dba3
treef7e4224509b71dd7e85cfd7b92f7ce66df46f0d3
parent06e5529eceae35bb26b51f2430c2c9425149ede2
time: add examples for microseconds and milliseconds methods

This change adds testable examples for the new Microseconds and Milliseconds methods that were introduced in Go 1.13.

Fixes #34354

Change-Id: Ibdbfd770ca2192f9086f756918325f7327ce0482
GitHub-Last-Rev: 4575f48f5feb8e49742304d17776e28302647931
GitHub-Pull-Request: golang/go#34355
Reviewed-on: https://go-review.googlesource.com/c/go/+/195979
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/time/example_test.go