Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Messages ¶
type Messages struct { Email string `json:"email" toml:"email" yaml:"email"` Required string `json:"required" toml:"required" yaml:"required"` MinText string `json:"minText" toml:"minText" yaml:"minText"` MaxText string `json:"maxText" toml:"maxText" yaml:"maxText"` MinNumber string `json:"minNumber" toml:"minNumber" yaml:"minNumber"` MaxNumber string `json:"maxNumber" toml:"maxNumber" yaml:"maxNumber"` }
type Schema ¶
type Schema interface {
Add(name string) SchemaField
}
type SchemaField ¶
type SchemaField interface { Email() SchemaField Required() SchemaField Min(min int) SchemaField Max(max int) SchemaField }
func Field ¶
func Field() SchemaField
Click to show internal directories.
Click to hide internal directories.