Create and process forms with Golang!
https://deblan.gitnet.page/go-form/
- Go 91.9%
- HTML 8.1%
| example | ||
| form | ||
| theme | ||
| util | ||
| validation | ||
| .gitignore | ||
| CHANGELOG.md | ||
| doc.md | ||
| go.mod | ||
| go.sum | ||
| LICENCE | ||
| main.go | ||
| README.md | ||
go-form
Creating and processing HTML forms is hard and repetitive. You need to deal with rendering HTML form fields, validating submitted data, mapping the form data into objects and a lot more. go-form includes a powerful form feature that provides all these features.
go-form is heavily influenced by Symfony Form. It includes:
- A form builder based on fields declarations and independent of structs
- Validation based on constraints
- Data mounting to populate a form from a struct instance
- Data binding to populate a struct instance from a submitted form
- Form renderer with customizable themes