From 81732006cfe081371d8a67e47408d4eae7542179 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Wed, 30 May 2018 14:57:29 +0200 Subject: make the IsEqualTo() methods public --- account.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'account.go') 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 } -- cgit v1.2.3