mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Enable go-critic linter and fix various issues detected
This commit is contained in:
parent
f6404290ba
commit
b1e73fafdf
34 changed files with 126 additions and 109 deletions
|
@ -93,8 +93,6 @@ func (mc *Content) MimeType() string {
|
|||
return "video/*"
|
||||
case mc.Type == "" && mc.Medium == "audio":
|
||||
return "audio/*"
|
||||
case mc.Type == "" && mc.Medium == "video":
|
||||
return "video/*"
|
||||
case mc.Type != "":
|
||||
return mc.Type
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue