style(go): 合并连续变量声明并明确规范约束

This commit is contained in:
zhangdeman committed 2026-11-27 23:36:02 -08:00
1 parent 2492251a89
commit 5287321ca2
8 files changed
+42 -126

No files matched your search

+1 -5
View File
@@ -15,11 +15,7 @@ func TestCredentialCopiesPreserveOriginalAndNumbers(t *testing.T) {
"apiKey": "private-api",
"nested": `{"accessKey":"private-access","id":18446744073709551615}`,
}
)
var (
result = Safe(original)
)
var (
result = Safe(original)
body, err = json.Marshal(result)
)
if err != nil {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.