func ValidateName(name string) error {
	if IsValidName(name) {
		return nil
	}
	return errors.NotValidf("name %q", name)
}
// ValidateName returns an error if the given name is invalid.
ValidateName returns an error if the given name is invalid.
// ValidateName returns an error if the given name is invalid .
func ValidateName(name string) error {
	if IsValidName(name) {
		return nil
	}
	return errors.NotValidf("name %q", name)
}
func ValidateName ( name string ) error { if IsValidName ( name ) { return nil } return errors . NotValidf ( " " , name ) }
ValidateName returns an error if the given name is invalid.
ValidateName returns an error if the given name is invalid .