Upgrade go.mod go version to 1.16 (#16764)

This commit is contained in:
wxiaoguang 2021-08-22 03:04:17 +08:00 committed by GitHub
parent 7844bf1430
commit 2d1935acc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ or if sqlite support is required:
The `build` target is split into two sub-targets:
- `make backend` which requires [Go 1.13](https://golang.org/dl/) or greater.
- `make backend` which requires [Go 1.16](https://golang.org/dl/) or greater.
- `make frontend` which requires [Node.js 12.17](https://nodejs.org/en/download/) or greater and Internet connectivity to download npm dependencies.
When building from the official source tarballs which include pre-built frontend files, the `frontend` target will not be triggered, making it possible to build without Node.js and Internet connectivity.

2
go.mod
View File

@ -1,6 +1,6 @@
module code.gitea.io/gitea
go 1.14
go 1.16
require (
cloud.google.com/go v0.78.0 // indirect