mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
10 lines
189 B
Go
10 lines
189 B
Go
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
|
|
}
|