From ee953147b1a08c15ee88c933f7bb813712cfd3ef Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Fri, 29 Dec 2023 13:26:43 -0600 Subject: [PATCH] Adding ignore validate rule to RepoForm.IsActive --- input.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.go b/input.go index fc7d7cc..fefeb89 100644 --- a/input.go +++ b/input.go @@ -92,7 +92,7 @@ type RepoForm struct { RepoURL string `form:"repourl" validate:"required,http_url"` IssuesURL string `form:"issuesurl" validate:"http_url"` MailURL string `form:"mailurl" validate:"http_url"` - IsActive bool `form:"is_active"` + IsActive bool `form:"is_active" validate:"-"` } // Validate ... -- 2.45.2