From 1898201b8b4e555b6dfabd58c5d1136051f35b93 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Fri, 28 Feb 2020 23:43:19 +0800 Subject: build: requires Go 1.13 --- CHANGELOG.md | 1 + gogs.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1438c9d2..e139df60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ All notable changes to Gogs are documented in this file. ### Changed +- The required Go version to compile source code changed to 1.13. - All assets are now embedded into binary and served from memory by default. Set `[server] LOAD_ASSETS_FROM_DISK = true` to load them from disk. [#5920](https://github.com/gogs/gogs/pull/5920) - Application and Go versions are removed from page footer and only show in the admin dashboard. - Build tag for running as Windows Service has been changed from `miniwinsvc` to `minwinsvc`. diff --git a/gogs.go b/gogs.go index 4a93bed1..8ee85a32 100644 --- a/gogs.go +++ b/gogs.go @@ -1,4 +1,4 @@ -// +build go1.12 +// +build go1.13 // Copyright 2014 The Gogs Authors. All rights reserved. // Use of this source code is governed by a MIT-style -- cgit v1.2.3