Documentation ¶
Index ¶
- Variables
- func Arr(args ...interface{}) []interface{}
- func Extend(target map[string]interface{}, args ...interface{}) (map[string]interface{}, error)
- func FirstNotNil(args ...interface{}) interface{}
- func Map(args ...interface{}) (map[string]interface{}, error)
- type CSRF
- type Errors
- type Form
- type FormField
Constants ¶
This section is empty.
Variables ¶
View Source
var HtmlformStructTag = "htmlform"
HtmlformStructTag sets the struct tag used to set other form properties, e.g. setting the form field type to "password".
If the name= paramter is set, the value inferred or given by StructTag is replaced.
View Source
var NameStructTag = "schema"
NameStructTag sets the struct tag used to set the field name, e.g. schema If set to an empty string, the default name will be used.
Functions ¶
func Arr ¶
func Arr(args ...interface{}) []interface{}
Arr returns a slice for a given argument list
func FirstNotNil ¶
func FirstNotNil(args ...interface{}) interface{}
FirstNotNil returns th first parameter that isn't nil
Types ¶
Click to show internal directories.
Click to hide internal directories.