favourites.go
changeset 138 23d3a518d0ad
parent 130 c450bb73f59a
child 149 5f922977d7c7
--- a/favourites.go	Wed Apr 19 09:30:47 2017 +0200
+++ b/favourites.go	Wed Apr 19 10:43:38 2017 +0200
@@ -4,16 +4,16 @@
 Licensed under the MIT license.  Please see the LICENSE file is this directory.
 */
 
-package gondole
+package madon
 
 import (
 	"github.com/sendgrid/rest"
 )
 
 // GetFavourites returns the list of the user's favourites
-func (g *Client) GetFavourites() ([]Status, error) {
+func (mc *Client) GetFavourites() ([]Status, error) {
 	var faves []Status
-	err := g.apiCall("favourites", rest.Get, nil, &faves)
+	err := mc.apiCall("favourites", rest.Get, nil, &faves)
 	if err != nil {
 		return nil, err
 	}