numerus/pkg
jordi fita mas b8b3d73e95 Refactor form validation into a new type
I was worried that i was repeating the AddInputErrors function for each
form, because they were basically the same.  I could create a Form type
and make all forms embed it, but i realized that with a separate
validator i would have cleaner validation functions and would not need
the Valid field in the form that i am using only for that method.
2023-02-01 11:30:30 +01:00
..
company.go Move page titles to their respective templates 2023-01-31 13:07:17 +01:00
contacts.go Move page titles to their respective templates 2023-01-31 13:07:17 +01:00
db.go Prefix with “Must” all functions that panic 2023-01-22 20:37:43 +01:00
form.go Refactor form validation into a new type 2023-02-01 11:30:30 +01:00
locale.go Validate profile form and use templates for fields 2023-01-31 15:40:12 +01:00
logger.go Move source file to the root of pkg 2023-01-17 10:40:22 +01:00
login.go Refactor form validation into a new type 2023-02-01 11:30:30 +01:00
profile.go Refactor form validation into a new type 2023-02-01 11:30:30 +01:00
recover.go Gofmt recover.go 2023-01-22 20:37:34 +01:00
router.go Rename extension of templates to .gohtml 2023-01-30 16:48:21 +01:00
template.go Add custom function to get the current locale from templates 2023-01-31 15:45:51 +01:00