mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-30 09:57:51 +01:00
New lint rules
This commit is contained in:
85 files changed
+385
-259
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package util
|
||||
|
||||
// MapContainsKey is fairly self explanatory
|
||||
func MapContainsKey(dict map[string]interface{}, key string) bool {
|
||||
func MapContainsKey(dict map[string]any, key string) bool {
|
||||
if _, ok := dict[key]; ok {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user