aboutsummaryrefslogtreecommitdiff
path: root/internal/imap/imap.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/imap.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/imap.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/imap/imap.go b/internal/imap/imap.go
index f8c8632..63684a8 100644
--- a/internal/imap/imap.go
+++ b/internal/imap/imap.go
@@ -30,13 +30,13 @@ func newImapClient(url *URL, forceTls bool) (*imapClient.Client, error) {
return c, nil
}
-func (client *Client) connect(url *URL, forceTls bool) (*connection, error) {
+func (cl *Client) connect(url *URL, forceTls bool) (*connection, error) {
c, err := newImapClient(url, forceTls)
if err != nil {
return nil, err
}
- conn := client.createConnection(c)
+ conn := cl.createConnection(c)
if !forceTls {
if err = conn.startTls(); err != nil {
class='insertions'>+44 2020-05-10Ignore 'dist' folder and build productsRené 'Necoro' Neumann1-0/+2 2020-05-08Print item hashes in debug modeRené 'Necoro' Neumann1-1/+7 2020-05-07Improve html renderingRené 'Necoro' Neumann2-53/+32 2020-05-07Do not assume items to be new when their published date is newer than the las...René 'Necoro' Neumann2-7/+1 2020-05-07Updating some depsRené 'Necoro' Neumann2-2/+7 2020-05-07Better detection if a text starts with html or notRené 'Necoro' Neumann2-4/+13 2020-05-07go fmtRené 'Necoro' Neumann1-3/+2 2020-05-07Add header X-Feed2Imap-GUIDRené 'Necoro' Neumann3-1/+7 2020-05-07update changelogRené 'Necoro' Neumann1-0/+1 2020-05-07FixRené 'Necoro' Neumann1-1/+1 2020-05-07Unified publishedDate and updatedDate into one (just as the old feed2imap...)René 'Necoro' Neumann5-21/+32 2020-05-06Print version during startupRené 'Necoro' Neumann1-1/+1 2020-05-06Improve templateRené 'Necoro' Neumann3-20/+28 2020-05-05Fix pipelineRené 'Necoro' Neumann1-2/+5 2020-05-05Make changelog a part of the release pipeline (untested)René 'Necoro' Neumann2-0/+12