88c379dc
1 2 3 4 5 6 7 8 9 10 11 12 13
package imap import ( "github.com/emersion/go-imap" ) func toSeqSet(uids []uint32) *imap.SeqSet { var set imap.SeqSet for _, uid := range uids { set.AddNum(uid) } return &set }