aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-05-30 14:57:29 +0200
committerStefan Majewsky <majewsky@gmx.net>2018-05-30 14:57:29 +0200
commit81732006cfe081371d8a67e47408d4eae7542179 (patch)
treef5e24ea9ed935f2a9fe4cec10930273fd47d03b3 /account.go
parentbb7eb0faacb77436a492d4b9b9775f2771a546d7 (diff)
downloadgo-schwift-81732006cfe081371d8a67e47408d4eae7542179.tar.gz
make the IsEqualTo() methods public
Diffstat (limited to 'account.go')
-rw-r--r--account.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/account.go b/account.go
index c101b54..ca3c9e8 100644
--- a/account.go
+++ b/account.go
@@ -38,7 +38,8 @@ type Account struct {
caps *Capabilities
}
-func (a *Account) isEqualTo(other *Account) bool {
+//IsEqualTo returns true if both Account instances refer to the same account.
+func (a *Account) IsEqualTo(other *Account) bool {
return other.baseURL == a.baseURL && other.name == a.name
}