Use consts for route names and templates.
This commit is contained in:
parent
5af18e2473
commit
c2b6928fb4
30 changed files with 135 additions and 82 deletions
|
|
@ -16,7 +16,7 @@ type FormSubmission struct {
|
|||
}
|
||||
|
||||
// Process processes a submission for a form
|
||||
func (f *FormSubmission) Process(ctx echo.Context, form interface{}) error {
|
||||
func (f *FormSubmission) Process(ctx echo.Context, form any) error {
|
||||
f.Errors = make(map[string][]string)
|
||||
f.IsSubmitted = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue