Make comments more useful
This commit is contained in:
@@ -13,8 +13,8 @@ type InlineOtherContent struct {
|
||||
Type string `xml:"type,attr,omitempty"` // MediaType
|
||||
}
|
||||
|
||||
// newInlineOtherContent creates a new InlineOtherContent. It returns a
|
||||
// *InlineOtherContent and an error.
|
||||
// newInlineOtherContent creates a new InlineOtherContent. It takes in the string
|
||||
// mediaType and any content and returns a *InlineOtherContent and an error.
|
||||
func newInlineOtherContent(mediaType string, content any) *InlineOtherContent {
|
||||
mediaType, _, _ = mime.ParseMediaType(mediaType)
|
||||
|
||||
|
Reference in New Issue
Block a user