Browse Source

style: format code with Go fmt and Gofumpt

This commit fixes the style issues introduced in 12efef4 according to the output
from Go fmt and Gofumpt.

Details: https://github.com/gogs/gogs/pull/7538
deepsource-autofix[bot] 1 năm trước cách đây
mục cha
commit
54d5e4c399
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      internal/db/organizations_test.go

+ 1 - 1
internal/db/organizations_test.go

@@ -561,7 +561,7 @@ func orgsHasMember(t *testing.T, db *organizations) {
 
 
 	err := db.AddMember(ctx, 1, 1)
 	err := db.AddMember(ctx, 1, 1)
 	require.NoError(t, err)
 	require.NoError(t, err)
-	
+
 	got, _ = db.HasMember(ctx, 1, 1)
 	got, _ = db.HasMember(ctx, 1, 1)
 	assert.True(t, got)
 	assert.True(t, got)
 }
 }