Golint fixed for modules/setting (#262)

* golint fixed for modules/setting

* typo fixed and renamed UNIXSOCKET to UnixSocket
This commit is contained in:
Lunny Xiao authored and GitHub committed 2016-11-27 18:14:25 +08:00
1 parent 0a76d260fa
commit 94da472717
38 files changed
+178 -167

No files matched your search

+3 -3
View File
@@ -33,16 +33,16 @@ func NewFuncMap() []template.FuncMap {
return strings.Title(runtime.Version())
},
"UseHTTPS": func() bool {
return strings.HasPrefix(setting.AppUrl, "https")
return strings.HasPrefix(setting.AppURL, "https")
},
"AppName": func() string {
return setting.AppName
},
"AppSubUrl": func() string {
return setting.AppSubUrl
return setting.AppSubURL
},
"AppUrl": func() string {
return setting.AppUrl
return setting.AppURL
},
"AppVer": func() string {
return setting.AppVer