--- a/instance.go Wed Apr 19 09:30:47 2017 +0200
+++ b/instance.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"
)
// GetCurrentInstance returns current instance information
-func (g *Client) GetCurrentInstance() (*Instance, error) {
+func (mc *Client) GetCurrentInstance() (*Instance, error) {
var i Instance
- if err := g.apiCall("instance", rest.Get, nil, &i); err != nil {
+ if err := mc.apiCall("instance", rest.Get, nil, &i); err != nil {
return nil, err
}
return &i, nil