go-imap
go-imap copied to clipboard
imapclient: add Dial() for unencrypted connections
I mean, I certainly don't insist that this method should exist, but something gave me the impression you might think so :wink:
Ah, right! I was holding off on this one because I prefer unencrypted connections to be explicit, but maybe I'm worrying too much and should just go with the flow of the rest of the Go ecosystem…
As I said, it's up to you. I can make the comment more explicit, or change the name to DialInsecure()
or whatnot, or we can close this and I modify your tokidoki-patch to use New()
directly.
Alright, sounds reasonable to me to rename to DialInsecure
!
Exquisite choice! :clinking_glasses: :wink: