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

+1 -1
View File
@@ -34,7 +34,7 @@ func GetUserByParams(ctx *context.APIContext) *models.User {
}
func composePublicKeysAPILink() string {
return setting.AppUrl + "api/v1/user/keys/"
return setting.AppURL + "api/v1/user/keys/"
}
func listPublicKeys(ctx *context.APIContext, uid int64) {