Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessStruct ¶
func ProcessStruct(s interface{}) error
ProcessStruct validates and processes the provided pointer to a struct.
func ProcessTags ¶
Types ¶
type DefaultTag ¶
type DefaultTag struct {
// contains filtered or unexported fields
}
func (*DefaultTag) Load ¶
func (dt *DefaultTag) Load(s []string) error
type OneOfTag ¶
type OneOfTag struct { Field reflect.StructField Parent reflect.Value // contains filtered or unexported fields }
type RequiredTag ¶
type RequiredTag struct { }
func (*RequiredTag) Load ¶
func (rt *RequiredTag) Load(s []string) error
Click to show internal directories.
Click to hide internal directories.