Improved code documentation

This commit is contained in:
2019-09-10 09:49:51 +09:00
parent e774dccb08
commit 27753f6f9e
11 changed files with 28 additions and 24 deletions

View File

@ -92,7 +92,7 @@ func PostText(text string) string {
return text
}
// ThreadTitle ...
// ThreadTitle fixes a thread title by trimming spaces.
func ThreadTitle(title string) string {
return strings.TrimSpace(title)
}