Versions in this module Expand all Collapse all v1 v1.61.0 Apr 30, 2024 Changes in this version + func ParseStandardTag(key string, t reflect.StructTag) (name string, keep bool, options []string, err error) + type Cache struct + func NewCache(parseTag ParseTagFunc, validate ValidateFunc, leafTypes LeafTypesFunc) *Cache + func (c *Cache) Fields(t reflect.Type) (List, error) + type Field struct + Index []int + Name string + NameFromTag bool + ParsedTag interface{} + Type reflect.Type + type LeafTypesFunc func(reflect.Type) bool + type List []Field + func (l List) Match(name string) *Field + func (l List) MatchBytes(name []byte) *Field + type ParseTagFunc func(reflect.StructTag) (name string, keep bool, other interface{}, err error) + type ValidateFunc func(reflect.Type) error