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/cmds.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 'internal/imap/cmds.go')
-rw-r--r-- | internal/imap/cmds.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/imap/cmds.go b/internal/imap/cmds.go index 7c99fc3..3cfb61d 100644 --- a/internal/imap/cmds.go +++ b/internal/imap/cmds.go @@ -8,8 +8,8 @@ func (cmd ensureCommando) execute(conn *connection) error { return conn.ensureFolder(cmd.folder) } -func (client *Client) EnsureFolder(folder Folder) error { - return client.commander.execute(ensureCommando{folder}) +func (cl *Client) EnsureFolder(folder Folder) error { + return cl.commander.execute(ensureCommando{folder}) } type addCommando struct { @@ -21,8 +21,8 @@ func (cmd addCommando) execute(conn *connection) error { return conn.putMessages(cmd.folder, cmd.messages) } -func (client *Client) PutMessages(folder Folder, messages []string) error { - return client.commander.execute(addCommando{folder, messages}) +func (cl *Client) PutMessages(folder Folder, messages []string) error { + return cl.commander.execute(addCommando{folder, messages}) } type replaceCommando struct { @@ -37,6 +37,6 @@ func (cmd replaceCommando) execute(conn *connection) error { return conn.replace(cmd.folder, cmd.header, cmd.value, cmd.newContent, cmd.force) } -func (client *Client) Replace(folder Folder, header, value, newContent string, force bool) error { - return client.commander.execute(replaceCommando{folder, header, value, newContent, force}) +func (cl *Client) Replace(folder Folder, header, value, newContent string, force bool) error { + return cl.commander.execute(replaceCommando{folder, header, value, newContent, force}) } |