New lint rules

This commit is contained in:
Jamie Curnow committed 2024-11-21 19:07:36 +10:00
1 parent 4e6d65645f
commit 152b7666d8
85 files changed
+385 -259

No files matched your search

+1 -1
View File
@@ -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)