mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-26 16:13:06 +01:00
New lint rules
This commit is contained in:
85 files changed
+385
-259
No files matched your search
@@ -56,7 +56,7 @@ func getQueryVarInt(r *http.Request, varName string, required bool, defaultValue
|
||||
}
|
||||
|
||||
func getURLParamInt(r *http.Request, varName string) (uint, error) {
|
||||
var defaultValue uint = 0
|
||||
var defaultValue uint
|
||||
|
||||
required := true
|
||||
paramStr := chi.URLParam(r, varName)
|
||||
|
||||
Reference in new issue
Block a user