diff options
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}) } |