mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-29 03:50:27 +00:00
Version 3 starter
This commit is contained in:
9
backend/internal/util/maps.go
Normal file
9
backend/internal/util/maps.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package util
|
||||
|
||||
// MapContainsKey is fairly self explanatory
|
||||
func MapContainsKey(dict map[string]interface{}, key string) bool {
|
||||
if _, ok := dict[key]; ok {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
Reference in New Issue
Block a user