package
0.0.0-20151121035748-7e6027c171f8
Repository: https://github.com/bredgren/gohtmlctrl.git
Documentation: pkg.go.dev
# Functions
Bool takes a pointer to a bool value and returns a JQuery object associated with it in the form of a checkbox.
Choice is a special string that can only be one of the values in choices.
Float64 takes a pointer to a float64 value and returns a JQuery object associated with it in the form of an input of number type.
Int takes a pointer to a int value and returns a JQuery object associated with it in the form of an input of number type.
RegisterValidator associates a name with the validator function so that it may be referenced in a struct tag.
Slice takes a pointer to a slice and returns a JQuery object associated with it as a list tag.
String takes a pointer to a string value and returns a JQuery object associated with it in the form of an input of text type.
Struct takes a pointer to a struct and returns a JQuery object associated with it.
# Variables
ClassPrefix is used to prefix the CSS classes.
SliceAddText is used to fill the add button for a slice.
SliceDelText is used to fill the delete button for a slice.
# Interfaces
Validator is used to validate changes made via html objects.
# Type aliases
ValidateBool is a function that validates bool types.
ValidateFloat64 is a function that validates float64 types.
ValidateInt is a function that validates int types.
ValidateString is a function that validates string types.
ValidatorFunc describes an abitrary function that implements the Validator interface.