mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +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