Upgrade Go 1.22 and upgrade dependency (#29869)

This commit is contained in:
wxiaoguang authored and GitHub committed 2024-03-17 15:40:05 +00:00
1 parent 099052aba5
commit abb330e613
8 files changed
+265 -589

No files matched your search

-1
View File
@@ -259,7 +259,6 @@ func TestWebhookDeliverSpecificTypes(t *testing.T) {
for typ := range cases {
cases[typ].gotBody = make(chan []byte, 1)
typ := typ // TODO: remove this workaround when Go >= 1.22
t.Run(typ, func(t *testing.T) {
t.Parallel()
hook := &webhook_model.Webhook{