fix: gofmt 格式化 5 个文件 - 修复 golangci-lint 错误
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user