Make comments more useful

This commit is contained in:
2025-01-24 23:06:32 +01:00
parent be79a13d48
commit 9ab48787d4
23 changed files with 115 additions and 93 deletions

View File

@@ -12,8 +12,8 @@ type InlineTextContent struct {
Text string `xml:",chardata"`
}
// newInlineTextContent creates a new InlineTextContent. It returns a
// *InlineTextContent.
// newInlineTextContent creates a new InlineTextContent. It takes in the strings
// mediaType and text and returns a *InlineTextContent.
func newInlineTextContent(mediaType, text string) *InlineTextContent {
return &InlineTextContent{
CommonAttributes: NewCommonAttributes(),