In
Go, every type has a zero value. Which is the value a variable of this type get if it's not initialized. I had a configuration object of type
map[string]interface{} and I needed to check if value exists and is not a zero value.
Here's a small piece of code that checks for zero values: