fix: gofmt 格式化 5 个文件 - 修复 golangci-lint 错误

This commit is contained in:
2026-04-20 07:40:06 +08:00
parent 1f8f839a1b
commit 93958adeff
5 changed files with 15 additions and 21 deletions
-2
View File
@@ -140,5 +140,3 @@ func (r databaseAssetRepository) GetDBPort(dbType string) int {
func (r databaseAssetRepository) UpdateOwner(c context.Context, ownerId string, newOwnerId string) error {
return r.GetDB(c).Model(&model.DatabaseAsset{}).Where("owner = ?", ownerId).Update("owner", newOwnerId).Error
}