notifications.go
changeset 102 187aa2a668a5
parent 99 6ec2a44a1bd1
child 120 579912e9d0ef
--- a/notifications.go	Thu Apr 13 10:36:18 2017 +0200
+++ b/notifications.go	Thu Apr 13 10:36:18 2017 +0200
@@ -32,6 +32,8 @@
 }
 
 // GetNotification returns a notification
+// The returned notification can be nil if there is an error or if the
+// requested notification does not exist.
 func (g *Client) GetNotification(id int) (*Notification, error) {
 	var notification Notification