aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'account.go')
-rw-r--r--account.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/account.go b/account.go
index 936b9e1..4277163 100644
--- a/account.go
+++ b/account.go
@@ -36,6 +36,10 @@ type Account struct {
caps *Capabilities
}
+func (a *Account) isEqualTo(other *Account) bool {
+ return other.baseURL == a.baseURL && other.name == a.name
+}
+
var endpointURLRegexp = regexp.MustCompile(`^(.*/)v1/(.*)/$`)
//InitializeAccount takes something that implements the Backend interface, and