Create and process forms with Golang! https://deblan.gitnet.page/go-form/
  • Go 91.9%
  • HTML 8.1%
Find a file
2025-09-24 09:03:50 +02:00
example [WIP] feat: add collection widget 2025-09-24 09:03:50 +02:00
form [WIP] feat: add collection widget 2025-09-24 09:03:50 +02:00
theme [WIP] feat: add collection widget 2025-09-24 09:03:50 +02:00
util [WIP] feat: add collection widget 2025-09-24 09:03:50 +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 release v1.4.0 2025-08-18 09:46:50 +02:00
doc.md feat: add boostrap5 theme 2025-07-26 19:48:15 +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
main.go [WIP] feat: add collection widget 2025-09-24 09:03:50 +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