mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-16 11:04:59 +00:00
refactor: clean up form binding & validation (#38873)
Clarify the "validation" and "error display" logic. All the copied&pasted `Validate` functions are removed.
This commit is contained in:
@@ -21,6 +21,7 @@ type SearchError struct {
|
||||
|
||||
// MarkupOption markup options
|
||||
type MarkupOption struct {
|
||||
FormDefaultValidator
|
||||
// Text markup to render
|
||||
//
|
||||
// in: body
|
||||
|
||||
Reference in New Issue
Block a user