From d259fcd1fabb85e2669fa07b4bf1508a80c3e02b Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sun, 10 May 2020 19:07:34 -0400 Subject: [PATCH] Grammar: README * spelling * order - UTC is a modifier of midnight, not the date * count agreement --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a3f2580..012ed44 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ can use the realtime clock while tests can use the mock clock. ### Realtime Clock Your application can maintain a `Clock` variable that will allow realtime and -mock clocks to be interchangable. For example, if you had an `Application` type: +mock clocks to be interchangeable. For example, if you had an `Application` type: ```go import "github.com/benbjohnson/clock" @@ -55,7 +55,7 @@ func TestApplication_DoSomething(t *testing.T) { Now that you've initialized your application to use the mock clock, you can adjust the time programmatically. The mock clock always starts from the Unix -epoch (midnight, Jan 1, 1970 UTC). +epoch (midnight UTC on Jan 1, 1970). ### Controlling time @@ -94,7 +94,7 @@ go func() { }() runtime.Gosched() -// Move the clock forward 10 second. +// Move the clock forward 10 seconds. mock.Add(10 * time.Second) // This prints 10.