From e3d3d424b2e8e5a8c4ee847bfe77b6f160d45196 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 16 Jul 2016 15:15:00 +0800 Subject: Minor fix for go vet --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 13e53497..e9ef2a23 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -143,7 +143,7 @@ func (f *NewWebhookForm) Validate(ctx *macaron.Context, errs binding.Errors) bin } type NewSlackHookForm struct { - PayloadURL string `binding:"Required;Url` + PayloadURL string `binding:"Required;Url"` Channel string `binding:"Required"` Username string IconURL string -- cgit v1.2.3