mirror of https://github.com/gogs/gogs.git
go: update required version to be 1.16 (#6850)
parent
3539de754d
commit
39f64a1371
|
@ -18,6 +18,7 @@ All notable changes to Gogs are documented in this file.
|
|||
- The default branch has been changed to `main`. [#6285](https://github.com/gogs/gogs/pull/6285)
|
||||
- MSSQL as database backend is deprecated, installation page no longer shows it as an option. Existing installations and manually craft configuration file continue to work. [#6295](https://github.com/gogs/gogs/pull/6295)
|
||||
- Use [Task](https://github.com/go-task/task) as the default build tool for development. [#6297](https://github.com/gogs/gogs/pull/6297)
|
||||
- The required Go version to compile source code changed to 1.16.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Getting started with developing Gogs
|
||||
# Set up your development environment
|
||||
|
||||
Gogs is written in [Go](https://golang.org/), please take [A Tour of Go](https://tour.golang.org/) if you haven't done so!
|
||||
|
||||
|
@ -21,9 +21,9 @@ Gogs is built and runs as a single binary and meant to be cross platform. Theref
|
|||
Gogs has the following dependencies:
|
||||
|
||||
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) (v1.8.3 or higher)
|
||||
- [Go](https://golang.org/doc/install) (v1.15 or higher)
|
||||
- [Go](https://golang.org/doc/install) (v1.16 or higher)
|
||||
- [Less.js](http://lesscss.org/usage/#command-line-usage-installing)
|
||||
- [Task](https://github.com/go-task/task)
|
||||
- [Task](https://github.com/go-task/task) (v3)
|
||||
- Database upon your choice (pick one, we choose PostgreSQL in this document):
|
||||
- [PostgreSQL](https://wiki.postgresql.org/wiki/Detailed_installation_guides) (v9.6 or higher)
|
||||
- [MySQL](https://dev.mysql.com/downloads/mysql/) with `ENGINE=InnoDB` (v5.7 or higher)
|
||||
|
|
4
go.mod
4
go.mod
|
@ -1,6 +1,6 @@
|
|||
module gogs.io/gogs
|
||||
|
||||
go 1.14
|
||||
go 1.16
|
||||
|
||||
require (
|
||||
github.com/Masterminds/semver/v3 v3.1.1
|
||||
|
@ -70,5 +70,5 @@ require (
|
|||
xorm.io/xorm v0.8.0
|
||||
)
|
||||
|
||||
// +heroku goVersion go1.15
|
||||
// +heroku goVersion go1.16
|
||||
// +heroku install ./
|
||||
|
|
Loading…
Reference in New Issue