Create and process forms with Golang! https://deblan.gitnet.page/go-form/
  • Go 91.9%
  • HTML 8.1%
Find a file
2025-10-01 23:30:16 +02:00
example feat(example): add theme picker 2025-10-01 23:23:13 +02:00
form doc: add documentation of functions and licence 2025-10-01 23:30:16 +02:00
theme feat(theme/html5): add classes for help and errors html nodes 2025-10-01 18:14:08 +02:00
util doc: add documentation of functions and licence 2025-10-01 23:30:16 +02:00
validation fix(validation/notblank): nil value validation 2025-08-01 17:42:27 +02:00
.gitignore feat: improve form rendering 2025-07-16 19:04:31 +02:00
CHANGELOG.md update changelog 2025-10-01 23:24:42 +02:00
doc.md feat: add boostrap5 theme 2025-07-26 19:48:15 +02:00
example.go feat(example): add theme picker 2025-10-01 23:23:13 +02:00
go.mod chore: update dependencies 2025-08-07 18:11:30 +02:00
go.sum chore: update dependencies 2025-08-07 18:11:30 +02:00
LICENCE add licence 2025-07-20 19:24:58 +02:00
README.md doc: add link to the documentation and the demo 2025-07-30 14:06:47 +02:00

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

Documentation