diff options
Diffstat (limited to 'media/mediaType.go')
-rw-r--r-- | media/mediaType.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/mediaType.go b/media/mediaType.go index 21d4ddca5..9e35212b2 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -40,7 +40,7 @@ type Type struct { SubType string `json:"subType"` // i.e. html // This is the optional suffix after the "+" in the MIME type, - // e.g. "xml" in "applicatiion/rss+xml". + // e.g. "xml" in "application/rss+xml". mimeSuffix string Delimiter string `json:"delimiter"` // e.g. "." @@ -107,7 +107,7 @@ func (m Type) FullSuffix() string { return m.Delimiter + m.Suffix() } -// Suffix returns the file suffix without any delmiter prepended. +// Suffix returns the file suffix without any delimiter prepended. func (m Type) Suffix() string { if m.fileSuffix != "" { return m.fileSuffix |