diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-03 02:19:54 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-05-03 02:19:54 +0200 |
commit | e4c683ece5044cee42b670bf04031429e426eddb (patch) | |
tree | 781013530db54fee7b81a9e33386b2cd4f4a93be /internal/imap/folder.go | |
parent | d131d0dec6a6c7f0af3511bd908cda8a3d910237 (diff) | |
download | feed2imap-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.go | 10 |
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)) } |