Enable Go modules (#5835)

* Remove vendor

* Enable Go modules

* ci: add command to fetch dependencies

* ci: update setting

* ci: update settings

* Require Go 1.11

* Rename module name to gogs.io/gogs
This commit is contained in:
Unknwon
2019-10-23 23:03:17 -07:00
committed by GitHub
parent fb100dbf98
commit 613139e7be
1496 changed files with 985 additions and 785022 deletions

View File

@@ -1,4 +1,4 @@
// +build go1.8
// +build go1.11
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
@@ -12,11 +12,11 @@ import (
"github.com/urfave/cli"
"github.com/gogs/gogs/cmd"
"github.com/gogs/gogs/pkg/setting"
"gogs.io/gogs/cmd"
"gogs.io/gogs/pkg/setting"
)
const Version = "0.11.95.1020"
const Version = "0.11.95.1023"
func init() {
setting.AppVer = Version