mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-10-07 21:22:01 +00:00
New lint rules
This commit is contained in:
@@ -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