code: func (a *AttributeDefinition) SetExample(example interface{}) bool {
  	if example == nil {
  		a.Example = "-" // set it to something else than nil so we know not to generate one
  		return true
  	}
  	if a.Type == nil || a.Type.IsCompatible(example) {
  		a.Example = example
  		return true
  	}
  	return false
  }
docs: // SetExample sets the custom example. SetExample also handles the case when the user doesn't
  // want any example or any auto-generated example.