aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'account.go')
-rw-r--r--account.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/account.go b/account.go
index 37b8ec0..cbe2772 100644
--- a/account.go
+++ b/account.go
@@ -16,7 +16,7 @@ const KeySize = 2048
// Account ...
type Account struct {
- Contact Contacts
+ contact Contacts
privKey *rsa.PrivateKey
signer jose.Signer
nonce chan string
@@ -36,13 +36,13 @@ func (a *Account) AddMail(email string) error {
if err != nil {
return err
}
- a.Contact = append(a.Contact, Mail(m.Address))
+ a.contact = append(a.contact, Mail(m.Address))
return nil
}
func (a *Account) AddPhone(phone string) error {
if ph := strings.TrimSpace(phone); ph != "" {
- a.Contact = append(a.Contact, Phone(ph))
+ a.contact = append(a.contact, Phone(ph))
}
return nil
}