From e4f0129c8ac981dc14c5fb3469ef5a978d26de78 Mon Sep 17 00:00:00 2001 From: Bogdan U Date: Sun, 18 Sep 2022 00:18:22 +0300 Subject: [PATCH] chore: drop go1.15 support (#1331) --- .github/workflows/ci.yml | 2 +- README.md | 5 +---- README_zh-CN.md | 5 +---- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0446cbe7d..bc603de66 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: test: strategy: matrix: - go: [ '1.15.x', '1.16.x', '1.17.x', '1.18.x' ] + go: [ '1.16.x', '1.17.x', '1.18.x' ] platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/README.md b/README.md index d33f57c53..f83c9104e 100644 --- a/README.md +++ b/README.md @@ -52,12 +52,9 @@ Swag converts Go annotations to Swagger Documentation 2.0. We've created a varie 2. Download swag by using: ```sh -$ go get -u github.com/swaggo/swag/cmd/swag - -# 1.16 or newer $ go install github.com/swaggo/swag/cmd/swag@latest ``` -To build from source you need [Go](https://golang.org/dl/) (1.15 or newer). +To build from source you need [Go](https://golang.org/dl/) (1.16 or newer). Or download a pre-compiled binary from the [release page](https://github.com/swaggo/swag/releases). diff --git a/README_zh-CN.md b/README_zh-CN.md index 003ee8faa..af0fab386 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -47,13 +47,10 @@ Swag将Go的注释转换为Swagger2.0文档。我们为流行的 [Go Web Framewo 2. 使用如下命令下载swag: ```bash -$ go get -u github.com/swaggo/swag/cmd/swag - -# 1.16 及以上版本 $ go install github.com/swaggo/swag/cmd/swag@latest ``` -从源码开始构建的话,需要有Go环境(1.15及以上版本)。 +从源码开始构建的话,需要有Go环境(1.16及以上版本)。 或者从github的release页面下载预编译好的二进制文件。