A simple Go library that creates a HTML form based on the inputted YAML
- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .gitignore | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
| yamlform.go | ||
| yamlform_test.go | ||
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)
}