From 47ca8a6d9d38e8414a663f9a3aabf798f0ef2e46 Mon Sep 17 00:00:00 2001 From: Tnze Date: Sun, 28 Jul 2024 00:48:45 +0800 Subject: [PATCH] upgrade go version --- .github/workflows/go.yml | 2 +- README.md | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a33b60be..776caa30 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: # match the minimum supported and the latest Go versions - go_version: [ '1.20', '^1.20' ] + go_version: [ '1.22', '^1.22' ] steps: diff --git a/README.md b/README.md index f08e57b2..154d2a50 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ### [教程 · Tutorial](https://go-mc.github.io/tutorial/) ### [文档 · Documents](https://pkg.go.dev/github.com/Tnze/go-mc) -Require Go version: 1.20 +Require Go version: 1.22 There's some library in Go support you to create your Minecraft client or server. 这是一些Golang库,用于帮助你编写自己的Minecraft客户端或服务器。 diff --git a/go.mod b/go.mod index 386714f7..9bf8d2d9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/Tnze/go-mc -go 1.20 +go 1.22 require ( github.com/google/uuid v1.3.0