time: add an example to the NewTicker function
time: add an example to the NewTicker function

Change-Id: Idad9cdee36679373ee223ff2bd4c021ea0afcce1
Reviewed-on: https://go-review.googlesource.com/61710
Reviewed-by: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>
Run-TryBot: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

nawawi/go,codestation/go,nawawi/go,akutz/go,Cofyc/go,codestation/go,cloudflare/go,akutz/go,nawawi/go,Cofyc/go,Cofyc/go,josharian/go,codestation/go,cloudflare/go,josharian/go,CAFxX/go,nawawi/go,codestation/go,CAFxX/go,polyverse-security/go,polyverse-security/go,polyverse-security/go,codestation/go,CAFxX/go,CAFxX/go,cloudflare/go,codestation/go,akutz/go,josharian/go,polyverse-security/go,cloudflare/go,golang/go,polyverse-security/go,akutz/go,akutz/go,nawawi/go,cloudflare/go,golang/go,CAFxX/go,Cofyc/go,Cofyc/go,josharian/go,josharian/go,polyverse-security/go,nawawi/go,josharian/go,Cofyc/go,akutz/go,Cofyc/go,josharian/go,golang/go,CAFxX/go,cloudflare/go,golang/go,codestation/go,akutz/go,nawawi/go,christopher-henderson/Go,cloudflare/go,polyverse-security/go,golang/go,codestation/go,Cofyc/go,CAFxX/go,golang/go,golang/go,polyverse-security/go,akutz/go,golang/go,nawawi/go,CAFxX/go,cloudflare/go,josharian/go