code: func (f EmailFormatChecker) IsFormat(input interface{}) bool {
  	asString, ok := input.(string)
  	if !ok {
  		return false
  	}
  
  	_, err := mail.ParseAddress(asString)
  	return err == nil
  }
docs: // IsFormat checks if input is a correctly formatted e-mail address