mattn / go-mastodon

mastodon client for golang
MIT License
603 stars 89 forks source link

Fix: Type of Notification.ID was int64. Change to ID #63

Closed hymkor closed 7 years ago

hymkor commented 7 years ago

Now mstdn.exe timeline works fine, but

$ mstdn notification
json: cannot unmarshal string into Go struct field Notification.id of type int64
exit status 1

Notification.ID remains int64. Replacing int64 to ID, mstdn notification works fine. If there are no problems, would you merge ?

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 85.755% when pulling 74f003d4a4cdb85187571c071955201deccd6fa0 on zetamatta:notification-id into 730317321abbdea25c96311c94eee46ca253dfc9 on mattn:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 85.755% when pulling fe913e01e56f7a0d1105126450f9ffe9a30e774b on zetamatta:notification-id into 730317321abbdea25c96311c94eee46ca253dfc9 on mattn:master.

mattn commented 7 years ago

Thank you