Update XORM required version and 'go fmt'

This commit is contained in:
Unknwon
2017-01-26 17:49:29 -05:00
parent ae319da5fd
commit 8bcc0e392e
2 changed files with 14 additions and 13 deletions

View File

@@ -84,7 +84,7 @@ func checkVersion() {
// Check dependency version. // Check dependency version.
checkers := []VerChecker{ checkers := []VerChecker{
{"github.com/go-xorm/xorm", func() string { return xorm.Version }, "0.5.5"}, {"github.com/go-xorm/xorm", func() string { return xorm.Version }, "0.6.0"},
{"github.com/go-macaron/binding", binding.Version, "0.3.2"}, {"github.com/go-macaron/binding", binding.Version, "0.3.2"},
{"github.com/go-macaron/cache", cache.Version, "0.1.2"}, {"github.com/go-macaron/cache", cache.Version, "0.1.2"},
{"github.com/go-macaron/csrf", csrf.Version, "0.1.0"}, {"github.com/go-macaron/csrf", csrf.Version, "0.1.0"},

View File

@@ -120,6 +120,7 @@ var (
PullRequestQueueLength int PullRequestQueueLength int
PreferredLicenses []string PreferredLicenses []string
DisableHTTPGit bool `ini:"DISABLE_HTTP_GIT"` DisableHTTPGit bool `ini:"DISABLE_HTTP_GIT"`
EnableLocalPathMigration bool
// Repository editor settings // Repository editor settings
Editor struct { Editor struct {