aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/folder.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 02:19:54 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-03 02:19:54 +0200
commite4c683ece5044cee42b670bf04031429e426eddb (patch)
tree781013530db54fee7b81a9e33386b2cd4f4a93be /internal/imap/folder.go
parentd131d0dec6a6c7f0af3511bd908cda8a3d910237 (diff)
downloadfeed2imap-go-e4c683ece5044cee42b670bf04031429e426eddb.tar.gz
feed2imap-go-e4c683ece5044cee42b670bf04031429e426eddb.tar.bz2
feed2imap-go-e4c683ece5044cee42b670bf04031429e426eddb.zip
Rename from 'client' to 'cl'
Diffstat (limited to '')
-rw-r--r--internal/imap/folder.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/imap/folder.go b/internal/imap/folder.go
index 1f4e0bf..e845862 100644
--- a/internal/imap/folder.go
+++ b/internal/imap/folder.go
@@ -21,13 +21,13 @@ func (f Folder) Append(other Folder) Folder {
}
}
-func (client *Client) folderName(path []string) Folder {
+func (cl *Client) folderName(path []string) Folder {
return Folder{
- strings.Join(path, client.delimiter),
- client.delimiter,
+ strings.Join(path, cl.delimiter),
+ cl.delimiter,
}
}
-func (client *Client) NewFolder(path []string) Folder {
- return client.toplevel.Append(client.folderName(path))
+func (cl *Client) NewFolder(path []string) Folder {
+ return cl.toplevel.Append(cl.folderName(path))
}