editform

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(obj interface{}, title string, user *arn.User) string

Render renders a generic editing UI for any kind of datatype that has an ID.

func RenderField

func RenderField(b *strings.Builder, v *reflect.Value, field reflect.StructField, idPrefix string)

RenderField ...

func RenderObject

func RenderObject(b *strings.Builder, obj interface{}, idPrefix string)

RenderObject renders the UI for the object into the bytes buffer and appends an ID prefix for all API requests. The ID prefix should either be empty or end with a dot character.

Types

This section is empty.

Jump to

Keyboard shortcuts

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