upgrade go version

This commit is contained in:
Tnze
2024-07-28 00:48:45 +08:00
parent 66b3b11049
commit 47ca8a6d9d
3 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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客户端或服务器。

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/Tnze/go-mc
go 1.20
go 1.22
require (
github.com/google/uuid v1.3.0