clock/example
Rune Tevasvold Aune b08e6b4da7 feat: add `Since(t Time) Duration` shorthand (#12)
* Update imports in example (`WatchBeam` -> `mixer`)

* Add Since() shorthand.

`Since(t Time) Duration` from the `time` package returns the time
elapsed since `t`. This is simply a shorthand for `Now().Sub(t)`, but
makes for more readable code.
2017-09-01 08:02:40 -07:00
..
hello.go feat: add `Since(t Time) Duration` shorthand (#12) 2017-09-01 08:02:40 -07:00
hello_test.go feat: add `Since(t Time) Duration` shorthand (#12) 2017-09-01 08:02:40 -07:00