From abf6939992049c9d54ee430e6289ead4303b027c Mon Sep 17 00:00:00 2001 From: Kaoru HAYAMA Date: Wed, 25 Oct 2017 13:47:36 +0900 Subject: [PATCH] Fix: Type of Notification.ID was int64. Change to ID --- notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notification.go b/notification.go index 15e6cf7..155e417 100644 --- a/notification.go +++ b/notification.go @@ -9,7 +9,7 @@ import ( // Notification hold information for mastodon notification. type Notification struct { - ID int64 `json:"id"` + ID ID `json:"id"` Type string `json:"type"` CreatedAt time.Time `json:"created_at"` Account Account `json:"account"`