form

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadForm

func ReadForm(urlForm url.Values) *gabs.Container

Types

type Form

type Form struct {
	// contains filtered or unexported fields
}

func NewForm

func NewForm(schema, uiSchema *gabs.Container) (*Form, error)

func (*Form) BindData

func (f *Form) BindData(data *gabs.Container) error

func (*Form) BuildContent

func (f *Form) BuildContent() (string, error)

func (*Form) BuildIndex

func (f *Form) BuildIndex() (string, error)

func (*Form) SetCSS

func (f *Form) SetCSS(cssPath string)

func (*Form) SetConfirmation added in v1.1.5

func (f *Form) SetConfirmation(c models.Confirmation)
func (f *Form) SetLogo(logoPath string)

func (*Form) SetMenu

func (f *Form) SetMenu(menu []models.MenuItem)
func (f *Form) SetPostLink(link string)

func (*Form) UISchema

func (form *Form) UISchema() []byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL