]> git.giacomolli.uk - onechat/blobdiff - clock_helper_test.go
Separate multiline Go statements
[onechat] / clock_helper_test.go
index 32dfbb969039b67f7178993595a84d2b50281d84..0a14fd8e053eabf986e1c9092ba6b9a42a26790c 100644 (file)
@@ -7,12 +7,12 @@ type TestClock struct {
        now time.Time
 }
 
-func (c *TestClock) Now() time.Time {
-       return c.now
-}
-
 func newTestClock() *TestClock {
        return &TestClock{
                now: time.Date(2026, 1, 1, 12, 0, 0, 0, time.UTC),
        }
 }
+
+func (c *TestClock) Now() time.Time {
+       return c.now
+}