From 5d514a10346533c155b5796b785dc25f11628c96 Mon Sep 17 00:00:00 2001 From: Patrick Crosby Date: Thu, 21 Feb 2013 15:11:48 -0600 Subject: [PATCH] fixed example --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b2cae4a..33711b6 100644 --- a/readme.md +++ b/readme.md @@ -28,7 +28,7 @@ import( func main() { m := new(ddbsync.Mutex) m.Name = "some-name" - m.Ttl = 10 * time.Second + m.Ttl = int64(10 * time.Second) m.Lock() defer m.Unlock() // do important work here