code: func ExtractJSONTag(defaultName, jsonTag string) (string, bool) {
  	tags := strings.Split(jsonTag, ",")
  	name := tags[0]
  	required := true
  	for _, tag := range tags {
  		if tag == "omitempty" {
  			required = false
  		}
  	}
  
  	if name == "" || name == "omitempty" {
  		name = defaultName
  	}
  	return name, required
  }
docs: // ExtractJSONTag returns the variable name or defaultName as well as if the field is required (!omitempty)