summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorEthan Koenig <etk39@cornell.edu>2017-05-12 04:09:53 -0400
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-05-12 16:09:53 +0800
commit9e627af9a449419bcec65ccff1dba00abc625d43 (patch)
tree2695461dfa8bb8517f8f2f5f53e957ce82f97e88 /modules
parent5ca3046da6c48723a8b67876ba4d3aa5cb59fc77 (diff)
downloadgitea-9e627af9a449419bcec65ccff1dba00abc625d43.tar.gz
gitea-9e627af9a449419bcec65ccff1dba00abc625d43.zip
gofmt (#1710)
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/user_form.go16
-rw-r--r--modules/markup/markup.go1
2 files changed, 8 insertions, 9 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go
index ea6e464a7f..f4234b04a9 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -38,15 +38,15 @@ type InstallForm struct {
RegisterConfirm bool
MailNotify bool
- OfflineMode bool
- DisableGravatar bool
- EnableFederatedAvatar bool
- DisableRegistration bool
- EnableCaptcha bool
- RequireSignInView bool
- DefaultKeepEmailPrivate bool
+ OfflineMode bool
+ DisableGravatar bool
+ EnableFederatedAvatar bool
+ DisableRegistration bool
+ EnableCaptcha bool
+ RequireSignInView bool
+ DefaultKeepEmailPrivate bool
DefaultAllowCreateOrganization bool
- NoReplyAddress string
+ NoReplyAddress string
AdminName string `binding:"OmitEmpty;AlphaDashDot;MaxSize(30)" locale:"install.admin_name"`
AdminPasswd string `binding:"OmitEmpty;MaxSize(255)" locale:"install.admin_password"`
diff --git a/modules/markup/markup.go b/modules/markup/markup.go
index e1fae3a5a8..185cdc7274 100644
--- a/modules/markup/markup.go
+++ b/modules/markup/markup.go
@@ -81,4 +81,3 @@ func IsReadmeFile(name string) bool {
}
return name[:7] == "readme."
}
-