A simple Go library that creates a HTML form based on the inputted YAML
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Luka de Jong 0efabd54a8 V1.0.1
fixed a little html bug
2026-06-10 11:46:19 +02:00
.gitignore Initial commit 2026-06-06 14:55:03 +02:00
go.mod V1.0.0 2026-06-10 10:42:56 +02:00
go.sum V1.0.0 2026-06-10 10:42:56 +02:00
LICENSE Initial commit 2026-06-06 14:55:03 +02:00
README.md V1.0.0 2026-06-10 10:42:56 +02:00
yamlform.go V1.0.1 2026-06-10 11:46:19 +02:00
yamlform_test.go V1.0.1 2026-06-10 11:46:19 +02:00

YamlForm

A simple Go library that creates a HTML form based on the inputted YAML

Usage

import "codeberg.org/ThinkingSecurityWorks/YamlForm"

func main() {
	yf := &YamlForm{}
	html, err := yf.Render(yaml, map[string]string)
	if err != nil {
		panic(err)
    }
	fmt.Println(html)
}