From 5b7afc5be788ad6bf6372cea87c56d0c4ccc526c Mon Sep 17 00:00:00 2001 From: Abdelrahman Ahmed Date: Wed, 7 Feb 2024 02:29:43 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=20upgrade=20to=20go=201.22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index ef72022c..e71256bc 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,7 +17,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.21' + go-version: '1.22' - name: Build run: go build - name: Test diff --git a/go.mod b/go.mod index 9babd4e6..d68d257e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/abahmed/kwatch -go 1.21 +go 1.22 require ( github.com/bwmarrin/discordgo v0.27.1 From d8b01b85d5e2c12438b16e493043b0c000284d23 Mon Sep 17 00:00:00 2001 From: Abdelrahman Ahmed Date: Wed, 7 Feb 2024 03:30:39 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=E2=AC=86=20upgrade=20to=20go=201.22?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/util_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/util_test.go b/util/util_test.go index 911c83b2..1e62b5af 100644 --- a/util/util_test.go +++ b/util/util_test.go @@ -43,11 +43,11 @@ func TestJsonEscape(t *testing.T) { }, { Input: "te\bst", - Output: "te\\u0008st", + Output: "te\\bst", }, { Input: "\b", - Output: "\\u0008", + Output: "\\b", }, { Input: "\"",