chore(go): upgrade to v1.21

This commit is contained in:
iyear 2024-02-09 20:41:26 +08:00
parent e678a60eeb
commit 0a04d8f793
5 changed files with 5 additions and 5 deletions

View File

@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version-file: go.mod
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5

View File

@ -128,7 +128,7 @@ Contributions are welcome!
To build the extended edition of `tdl` from source you must:
1. Install [Git](https://git-scm.com/)
2. Install [Go](https://go.dev/) version 1.19 or later
2. Install [Go](https://go.dev/) version 1.21 or later
3. Update your `PATH` environment variable as described in the Go documentation
{{< hint info >}}

View File

@ -127,7 +127,7 @@ brew install telegram-downloader
要从源代码构建 `tdl` 的扩展版本,您必须:
1. 安装 [Git](https://git-scm.com/)
2. 安装 Go 的 1.19 版本或更高版本
2. 安装 Go 的 1.21 版本或更高版本
3. 根据 Go 文档中的描述更新您的 `PATH` 环境变量
{{< hint info >}}

View File

@ -1,5 +1,5 @@
module github.com/iyear/tdl/docs
go 1.19
go 1.21
require github.com/alex-shpak/hugo-book v0.0.0-20230808113920-3f1bcccbfb24 // indirect

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/iyear/tdl
go 1.19
go 1.21
require (
github.com/AlecAivazis/survey/v2 v2.3.7