chore(go): modernize source and enforce go fix in CI

This commit is contained in:
johnnyjoygh
2026-10-09 22:07:23 +08:00
parent ca03613791
commit a316e7935b
45 changed files with 117 additions and 148 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func TestInstanceAdminRetrieval(t *testing.T) {
require.NoError(t, err)
// Multiple calls should return consistent admin user (from cache)
for i := 0; i < 5; i++ {
for range 5 {
profile, err := ts.Service.GetInstanceProfile(ctx, &apipb.GetInstanceProfileRequest{})
require.NoError(t, err)
require.NotNil(t, profile.Admin)