go-imap
go-imap copied to clipboard
Change to newer error handling model (go1.13)
error handling have been extended with 1.13, maybe it makes sense to apply these new options.
I'm struggling with some weird and unexpected disconnects from Gmail side and will a simple string comparison for https://github.com/emersion/go-imap/blob/master/client/client.go#L26 (private) now.
https://blog.golang.org/go1.13-errors