Add wsl linter and fix

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-05-19 14:51:08 +04:00
parent eedfdcecc8
commit 9156d6a16a
882 changed files with 6068 additions and 574 deletions

View File

@@ -36,6 +36,7 @@ func confirmGetHandler() http.HandlerFunc {
Body: "This confirmation link is missing required information. Please use the link from your email.",
},
)
return
}
@@ -72,6 +73,7 @@ func confirmPostHandler(mailmanSvc *mailman.Service, tokenSecret string) http.Ha
Body: "This confirmation link is missing required information. Please use the link from your email.",
},
)
return
}
@@ -86,6 +88,7 @@ func confirmPostHandler(mailmanSvc *mailman.Service, tokenSecret string) http.Ha
Body: "This confirmation link is invalid or has expired. Confirmation links are valid for 30 days — please re-subscribe to get a new one.",
},
)
return
}
@@ -99,6 +102,7 @@ func confirmPostHandler(mailmanSvc *mailman.Service, tokenSecret string) http.Ha
Body: "We could not find your subscription. It may have already been cancelled or this link was already used.",
},
)
return
}
@@ -111,6 +115,7 @@ func confirmPostHandler(mailmanSvc *mailman.Service, tokenSecret string) http.Ha
Body: "We could not confirm your subscription. Please try again later.",
},
)
return
}

View File

@@ -36,6 +36,7 @@ func unsubscribeGetHandler() http.HandlerFunc {
Body: "This unsubscribe link is missing required information. Please use the link from your email.",
},
)
return
}
@@ -69,6 +70,7 @@ func unsubscribePostHandler(mailmanSvc *mailman.Service, tokenSecret string) htt
Body: "This unsubscribe link is missing required information. Please use the link from your email.",
},
)
return
}
@@ -83,6 +85,7 @@ func unsubscribePostHandler(mailmanSvc *mailman.Service, tokenSecret string) htt
Body: "This unsubscribe link is invalid or has expired.",
},
)
return
}
@@ -97,6 +100,7 @@ func unsubscribePostHandler(mailmanSvc *mailman.Service, tokenSecret string) htt
Body: "We could not process your request. Please try again later.",
},
)
return
}
}