From 8a2f4f19efa856a7ac8b0f302a285f74bd021dbd Mon Sep 17 00:00:00 2001 From: Patrick Mylund Nielsen Date: Mon, 22 Dec 2014 02:48:52 -0500 Subject: [PATCH] go fmt --- cache.go | 2 +- cache_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cache.go b/cache.go index 2beaec2..12f7f0b 100644 --- a/cache.go +++ b/cache.go @@ -25,7 +25,7 @@ func (item *Item) Expired() bool { const ( // For use with functions that take an expiration time. - NoExpiration time.Duration = -1 + NoExpiration time.Duration = -1 // For use with functions that take an expiration time. Equivalent to // passing in the same expiration duration as was given to New() or // NewFrom() when the cache was created (e.g. 5 minutes.) diff --git a/cache_test.go b/cache_test.go index 0bd8996..8f77235 100644 --- a/cache_test.go +++ b/cache_test.go @@ -109,11 +109,11 @@ func TestCacheTimes(t *testing.T) { func TestNewFrom(t *testing.T) { m := map[string]*Item{ "a": &Item{ - Object: 1, + Object: 1, Expiration: nil, }, "b": &Item{ - Object: 2, + Object: 2, Expiration: nil, }, }