style(go): remove trailing blank lines from blocks

This commit is contained in:
johnnyjoygh
2026-11-14 20:52:33 +08:00
parent 5f3969a830
commit 509e41bd1a
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -234,7 +234,6 @@ func TestGetInstanceSetting(t *testing.T) {
Name: "instance/settings/MEMO_RELATED",
})
require.Error(t, err)
})
t.Run("GetInstanceSetting - tags setting", func(t *testing.T) {
-1
View File
@@ -39,7 +39,6 @@ func encodeInstanceSetting(upsert *storepb.InstanceSetting) (*InstanceSetting, e
} else if upsert.Key == storepb.InstanceSettingKey_STORAGE {
NormalizeInstanceStorageSetting(upsert.GetStorageSetting())
valueBytes, err = protojson.Marshal(upsert.GetStorageSetting())
} else if upsert.Key == storepb.InstanceSettingKey_TAGS {
valueBytes, err = protojson.Marshal(upsert.GetTagsSetting())
} else if upsert.Key == storepb.InstanceSettingKey_NOTIFICATION {