func (m *FactMutation) ResetField(name string) error {
	switch name {
	case fact.FieldCreatedAt:
		m.ResetCreatedAt()
		return nil
	case fact.FieldUpdatedAt:
		m.ResetUpdatedAt()
		return nil
	case fact.FieldDeletedAt:
		m.ResetDeletedAt()
		return nil
	case fact.FieldHashedValue:
		m.ResetHashedValue()
		return nil
	case fact.FieldEncryptedValue:
		m.ResetEncryptedValue()
		return nil
	case fact.FieldDomain:
		m.ResetDomain()
		return nil
	}
	return fmt.Errorf("unknown Fact field %s", name)
}
// ResetField resets all changes in the mutation for the field with the given name.
// It returns an error if the field is not defined in the schema.
ResetField resets all changes in the mutation for the field with the given name.
It returns an error if the field is not defined in the schema.
// ResetField resets all changes in the mutation for the field with the given name . // It returns an error if the field is not defined in the schema .
func (m *FactMutation) ResetField(name string) error {
	switch name {
	case fact.FieldCreatedAt:
		m.ResetCreatedAt()
		return nil
	case fact.FieldUpdatedAt:
		m.ResetUpdatedAt()
		return nil
	case fact.FieldDeletedAt:
		m.ResetDeletedAt()
		return nil
	case fact.FieldHashedValue:
		m.ResetHashedValue()
		return nil
	case fact.FieldEncryptedValue:
		m.ResetEncryptedValue()
		return nil
	case fact.FieldDomain:
		m.ResetDomain()
		return nil
	}
	return fmt.Errorf("unknown Fact field %s", name)
}
func ( m * FactMutation ) ResetField ( name string ) error { switch name { case fact . FieldCreatedAt : m . ResetCreatedAt ( ) return nil case fact . FieldUpdatedAt : m . ResetUpdatedAt ( ) return nil case fact . FieldDeletedAt : m . ResetDeletedAt ( ) return nil case fact . FieldHashedValue : m . ResetHashedValue ( ) return nil case fact . FieldEncryptedValue : m . ResetEncryptedValue ( ) return nil case fact . FieldDomain : m . ResetDomain ( ) return nil } return fmt . Errorf ( " " , name ) }
ResetField resets all changes in the mutation for the field with the given name.
ResetField resets all changes in the mutation for the field with the given name .