Unicorn

Unicornus - Easy Forms for Go

Unicornus is a Go library to programmatically create forms. It can be found on GitHub.

import (
  "github.com/inkmi/unicornus/uni"
)

type simpledata struct {
  Name string
}

// The data of the form
d := simpledata{
  Name: "Unicornus",
}
// Create a FormLayout
// describing the form
ui := uni.NewFormLayout().
    Add("Name", "Name Label")

// Render form layout with data
// to html
html := ui.RenderForm(d)

More Documentation

©️2024 Unicornus | Impressum| Created for Inkmi.com - Dream Jobs for CTOs | My CTO Book