add more documentation, examples with tests to illustrate reusable components

This commit is contained in:
Mechiel Lukkien
2023-12-12 15:47:26 +01:00
parent 810cbdc61d
commit d1b66035a9
40 changed files with 973 additions and 119 deletions

View File

@ -9,6 +9,9 @@ import (
// always required to match to an existing thread, both if
// References/In-Reply-To header(s) are present, and if not.
//
// isResponse indicates if this message is a response, such as a reply or a
// forward.
//
// Subject should already be q/b-word-decoded.
//
// If allowNull is true, base subjects with a \0 can be returned. If not set,