func (m *ScopeMutation) ResetField(name string) error {
	switch name {
	case scope.FieldCreatedAt:
		m.ResetCreatedAt()
		return nil
	case scope.FieldUpdatedAt:
		m.ResetUpdatedAt()
		return nil
	case scope.FieldDeletedAt:
		m.ResetDeletedAt()
		return nil
	case scope.FieldCustomID:
		m.ResetCustomID()
		return nil
	case scope.FieldNonce:
		m.ResetNonce()
		return nil
	case scope.FieldDomain:
		m.ResetDomain()
		return nil
	}
	return fmt.Errorf("unknown Scope 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 *ScopeMutation) ResetField(name string) error {
	switch name {
	case scope.FieldCreatedAt:
		m.ResetCreatedAt()
		return nil
	case scope.FieldUpdatedAt:
		m.ResetUpdatedAt()
		return nil
	case scope.FieldDeletedAt:
		m.ResetDeletedAt()
		return nil
	case scope.FieldCustomID:
		m.ResetCustomID()
		return nil
	case scope.FieldNonce:
		m.ResetNonce()
		return nil
	case scope.FieldDomain:
		m.ResetDomain()
		return nil
	}
	return fmt.Errorf("unknown Scope field %s", name)
}
func ( m * ScopeMutation ) ResetField ( name string ) error { switch name { case scope . FieldCreatedAt : m . ResetCreatedAt ( ) return nil case scope . FieldUpdatedAt : m . ResetUpdatedAt ( ) return nil case scope . FieldDeletedAt : m . ResetDeletedAt ( ) return nil case scope . FieldCustomID : m . ResetCustomID ( ) return nil case scope . FieldNonce : m . ResetNonce ( ) return nil case scope . 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 .