mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Make sure golint pass on the code base
This commit is contained in:
parent
8781648af9
commit
bb8e61c7c5
59 changed files with 322 additions and 171 deletions
|
@ -38,6 +38,7 @@ var rewriteRules = []func(string, string) string{
|
|||
},
|
||||
}
|
||||
|
||||
// Rewriter modify item contents with a set of rewriting rules.
|
||||
func Rewriter(url, content string) string {
|
||||
for _, rewriteRule := range rewriteRules {
|
||||
content = rewriteRule(url, content)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue