code: func setDefault(dataMap map[string]interface{}, key string, defaultVal interface{}) {
  	_, ok := dataMap[key]
  	if !ok {
  		dataMap[key] = defaultVal
  	}
  }
docs: //setDefault sets default value provided to map if given key not found