diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-11-04 12:28:56 +0100 |
---|---|---|
committer | Thomas Boerger <thomas@webhippie.de> | 2016-11-04 23:45:06 +0100 |
commit | f960b776f0d20e93abb033a21d7ba3a8a803828c (patch) | |
tree | 483cc204adbb341d5a3008194bfb5b68785ae6fa | |
parent | e05a5ca36c6adcad27e92a431d5e96e46641578d (diff) | |
download | gitea-f960b776f0d20e93abb033a21d7ba3a8a803828c.tar.gz gitea-f960b776f0d20e93abb033a21d7ba3a8a803828c.zip |
Simply made go vet happy, fixed tags
-rw-r--r-- | modules/auth/repo_form.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 238a10852c..b25612b3c1 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -289,7 +289,7 @@ func (f *NewWikiForm) Validate(ctx *macaron.Context, errs binding.Errors) bindin type EditRepoFileForm struct { TreePath string `binding:"Required;MaxSize(500)"` Content string `binding:"Required"` - CommitSummary string `binding:"MaxSize(100)` + CommitSummary string `binding:"MaxSize(100)"` CommitMessage string CommitChoice string `binding:"Required;MaxSize(50)"` NewBranchName string `binding:"AlphaDashDot;MaxSize(100)"` @@ -317,8 +317,8 @@ func (f *EditPreviewDiffForm) Validate(ctx *macaron.Context, errs binding.Errors // type UploadRepoFileForm struct { - TreePath string `binding:MaxSize(500)"` - CommitSummary string `binding:"MaxSize(100)` + TreePath string `binding:"MaxSize(500)"` + CommitSummary string `binding:"MaxSize(100)"` CommitMessage string CommitChoice string `binding:"Required;MaxSize(50)"` NewBranchName string `binding:"AlphaDashDot;MaxSize(100)"` @@ -345,7 +345,7 @@ func (f *RemoveUploadFileForm) Validate(ctx *macaron.Context, errs binding.Error // \/ \/ \/ \/ type DeleteRepoFileForm struct { - CommitSummary string `binding:"MaxSize(100)` + CommitSummary string `binding:"MaxSize(100)"` CommitMessage string CommitChoice string `binding:"Required;MaxSize(50)"` NewBranchName string `binding:"AlphaDashDot;MaxSize(100)"` |