chore: Clean up code by removing trailing whitespace in multiple files

This commit is contained in:
lan
2025-12-02 18:41:34 +08:00
parent e05ba3b041
commit 188a05caa7
15 changed files with 13 additions and 2 deletions

View File

@@ -82,3 +82,4 @@ type YggdrasilRepository interface {
GetPasswordByID(id int64) (string, error)
ResetPassword(id int64, password string) error
}

View File

@@ -146,3 +146,4 @@ func (r *profileRepositoryImpl) UpdateKeyPair(profileId string, keyPair *model.K
return nil
})
}

View File

@@ -42,3 +42,4 @@ func (r *systemConfigRepositoryImpl) UpdateValue(key, value string) error {
return r.db.Model(&model.SystemConfig{}).Where("key = ?", key).Update("value", value).Error
}

View File

@@ -172,3 +172,4 @@ func (r *textureRepositoryImpl) CountByUploaderID(uploaderID int64) (int64, erro
Count(&count).Error
return count, err
}

View File

@@ -68,3 +68,4 @@ func (r *tokenRepositoryImpl) BatchDelete(accessTokens []string) (int64, error)
result := r.db.Where("access_token IN ?", accessTokens).Delete(&model.Token{})
return result.RowsAffected, result.Error
}

View File

@@ -100,3 +100,4 @@ func handleNotFoundResult[T any](result *T, err error) (*T, error) {
}
return result, nil
}