HugoandGitHub 3fda9fc0aa imapclient: wrap inner errors
The following error (split here into multiple lines for readability):

    in response: cannot read tag:
    read tcp 192.168.2.3:51198->185.97.174.199:993:
    read: connection reset by peer

Does not match the following condition:

    errors.Is(err, syscall.ECONNRESET)

Calls to fmt.Errorf use `%v`, which embeds the inner error's string
representation, without wrapping the inner error.

Use `%w` instead, to wrap the inner error, enabling usages such as the
example above.
2026-04-12 16:17:02 +02:00
2026-04-12 16:17:02 +02:00
2024-02-21 15:26:28 +01:00
2024-05-16 13:29:58 +02:00
2023-12-18 16:21:00 +01:00
2025-07-20 17:16:38 +02:00
2024-01-10 18:21:22 +01:00
2023-04-13 10:23:56 +02:00
2024-01-26 12:17:35 +01:00
2025-10-23 20:38:28 +02:00
2025-10-23 20:38:28 +02:00
2024-06-12 10:17:07 +02:00
2023-12-18 16:21:00 +01:00
2023-03-11 15:52:25 +01:00
2024-01-10 18:21:22 +01:00
2023-03-22 11:04:18 +01:00
2024-07-13 15:54:26 +02:00
2025-06-05 10:56:16 +02:00
2025-05-15 16:05:51 +02:00
2023-07-05 09:50:47 +02:00
2023-03-24 11:45:02 +01:00

go-imap

Go Reference

An IMAP4rev2 library for Go.

Note

This is the README for go-imap v2. This new major version is still in development. For go-imap v1, see the v1 branch.

Usage

To add go-imap to your project, run:

go get github.com/emersion/go-imap/v2

Documentation and examples for the module are available here:

License

MIT

S
Description
📥 An IMAP library for Go clients and servers
Readme MIT
3.7 MiB
Languages
Go 100%