prometheus/prometheus — pull request #51 by matttproud (2013-01-27 19:02:18+00:00)
Title: Swap ``time.Now`` with testable ``Time.Now``.

To my knowledge, there is no good way of modifying the behavior of Go's builtin ``time.Now()`` for tests. ``Time.Now()`` is an attempt around this.