Rename "Gondole" as "Client" to avoid "gondole.Gondole".
authorOllivier Robert <roberto@keltia.net>
Wed, 12 Apr 2017 14:12:40 +0200
changeset 74 ba06092b91a6
parent 73 d601c957d789
child 75 b361e3f89ea6
Rename "Gondole" as "Client" to avoid "gondole.Gondole". (expecting "golint" to go through the roof otherwise)
types.go
--- a/types.go	Wed Apr 12 13:19:50 2017 +0200
+++ b/types.go	Wed Apr 12 14:12:40 2017 +0200
@@ -4,18 +4,13 @@
 	"time"
 )
 
-type Gondole struct {
+type Client struct {
 	Name    string
 	ID      string
 	Secret  string
 	APIBase string
 }
 
-type Client struct {
-	BaseURL     string
-	BearerToken string
-}
-
 /*
 Entities: