mirror of https://github.com/gogs/gogs.git
build: require Go 1.14 for using `t.Cleanup` (#6069)
parent
083ecb7244
commit
559af54e66
|
@ -14,7 +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.
|
||||
- The required Go version to compile source code changed to 1.14.
|
||||
- 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`.
|
||||
|
|
4
go.mod
4
go.mod
|
@ -1,6 +1,6 @@
|
|||
module gogs.io/gogs
|
||||
|
||||
go 1.13
|
||||
go 1.14
|
||||
|
||||
require (
|
||||
github.com/bgentry/speakeasy v0.1.0 // indirect
|
||||
|
@ -73,5 +73,5 @@ require (
|
|||
xorm.io/xorm v0.8.0
|
||||
)
|
||||
|
||||
// +heroku goVersion go1.13
|
||||
// +heroku goVersion go1.14
|
||||
// +heroku install ./
|
||||
|
|
2
gogs.go
2
gogs.go
|
@ -1,4 +1,4 @@
|
|||
// +build go1.13
|
||||
// +build go1.14
|
||||
|
||||
// Copyright 2014 The Gogs Authors. All rights reserved.
|
||||
// Use of this source code is governed by a MIT-style
|
||||
|
|
Loading…
Reference in New Issue