log.Println("===========================")
log.Printf("entity: %+v\n", entity.Header)
log.Printf("entity: %+v\n", entity.Header.Get("header"))
log.Printf("entity: %+v\n", entity.Header.Values("header"))
log.Println("===========================")
2020/12/14 16:53:28 ===========================
2020/12/14 16:53:28 entity: {Header:{l:[0xc00046b940 0xc00046b900 0xc00046b8c0 0xc00046b880 0xc00046b840 0xc00046b800 0xc00046b7c0 0xc00046b780 0xc00046b740 0xc00046b700 0xc00046b6c0 0xc00046b680 0xc00046b640 0xc00046b600 0xc00046b5c0 0xc00046b580 0xc00046b540 0xc00046b500 0xc00046b4c0 0xc00046b480] m:map[Authentication-Results:[0xc00046b600] Content-Type:[0xc00046b900] Date:[0xc00046b880] Dkim-Signature:[0xc00046b5c0] From:[0xc00046b740] Message-Id:[0xc00046b8c0] Mime-Version:[0xc00046b800] Received:[0xc00046b700 0xc00046b540 0xc00046b4c0 0xc00046b480] Return-Path:[0xc00046b940] Subject:[0xc00046b7c0] To:[0xc00046b780] X-Mailer:[0xc00046b840] X-Yandex-Internal:[0xc00046b500] X-Yandex-Sender-Uid:[0xc00046b6c0] X-Yandex-Spam:[0xc00046b680] X-Yandex-Suid-Status:[0xc00046b640] X-Yandex-Timemark:[0xc00046b580]]}}
2020/12/14 16:53:28 entity:
2020/12/14 16:53:28 entity: []
2020/12/14 16:53:28 ===========================
Можете подсказать, как можно в seqset записать только часть писем. Например те письма, которые старше суток?
Спасибо