From 34d243e9aff1da2c2fc89abb55c14a18d2a897ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Tue, 30 Jul 2013 13:02:54 +0200 Subject: [PATCH] fix json tag for time_to_live --- gcm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcm.go b/gcm.go index 69c5ea7..2717f3f 100644 --- a/gcm.go +++ b/gcm.go @@ -15,7 +15,7 @@ type Message struct { CollapseKey string `json:"collapse_key,omitempty"` Data map[string]interface{} `json:"data,omitempty"` DelayWhileIdle bool `json:"delay_while_idle,omitempty"` - TimeToLive int `json:"time_to_live",omitempty` + TimeToLive int `json:"time_to_live,omitempty"` } type Response struct {