]> source.dussan.org Git - gitea.git/commitdiff
Upgrade go.mod go version to 1.16 (#16764)
authorwxiaoguang <wxiaoguang@gmail.com>
Sat, 21 Aug 2021 19:04:17 +0000 (03:04 +0800)
committerGitHub <noreply@github.com>
Sat, 21 Aug 2021 19:04:17 +0000 (20:04 +0100)
README.md
go.mod

index b2a147471e5701dbe2d59bddcea01d63ef50b3b6..a10c009df37c67f39e229e0fd1af05baa6980c01 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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.
diff --git a/go.mod b/go.mod
index 1a3749c05ddf496b2229e48de10eba60f30ed6c8..1c974aa6f50c9ae1789c32c381351867f152fdaf 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module code.gitea.io/gitea
 
-go 1.14
+go 1.16
 
 require (
        cloud.google.com/go v0.78.0 // indirect