{"repo":"irob/goform","free":true,"listed":false,"github":"https://github.com/irob/goform","clone":"git clone https://github.com/irob/goform.git","description":"Generate HTML forms dynamically and super easy using Golang/Go","language":"Go","stars":24,"topics":["golang","template","go","bootstrap","form","html"],"license":"MPL-2.0","category":"saas-starters-boilerplates","readme_excerpt":"goform ======= goform generate HTML forms dynamically and super easy using Golang/Go. Status ======= In development V2.0 Description ======= goform is a super simple form generator, create dynamic forms without having to write HTML. Templates included: - bootstrap5 - html By default goform render forms in Bootstrap 5 style, also its posible to choose html format, where the inputs are render in plain html (no divs, no labels, ...) If anyone need a custom template or custom items, goform has the option to choose custom template. TODO: - Parse HTML in textlabel element - Remove Elements Functions - Enable Set/Group of elements Example package main import( \"text/template\" \"github.com/irob/goform\" ) var res = make(map[string]interface{}) var tmpl = template.Must(template.ParseGlob(\"tmpl/ \")) func main () { nInputs := 8 // CitiesList slice of cities var CitiesList = []OptionItem{{Key: \"\", Value: \"Choose your favorite city\"}, {Key: \"AMS\", Value: \"Amsterdam\"}, {Key: \"VEN\", Value: \"Venice\"}, {Key: \"KYO\", Value: \"Kyoto\"}, {Key: \"PAR\", Value: \"Paris\"}, {Key: \"DOH\", Value: \"Doha\"}, {Key: \"BAR\", Value: \"Barcelona\"}, {Key: \"SMA\", Value: \"San Miguel de Allende\"}, {Key: \"BUD\", Value: \"Budapest\"}, {Key: \"LIS\", Value: \"Lisbon\"}, {Key: \"FLO\", Value: \"Florence\"}, {Key: \"HNK\", Value: \"Hong Kong\"}, {Key: \"BRU\", Value: \"Bruges\"}} // AgeRanges slice of ranges of ages var AgeRanges = []OptionItem{{Key: \"1\", Value: \"1 - 9 yo\"}, {Key: \"2\", Value: \"10 - 19 yo\"}, {Key: \"3\", Value: \"20 - 29 yo\"}, {Key: \"4","default_branch":null,"files":null,"tree":[],"storefront":"/r/irob","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/irob/goform/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}