Versions in this module Expand all Collapse all v1 v1.1.0 Aug 24, 2024 Changes in this version + var ErrUnexportedField = errors.New("unexported field") + var ErrUnsupportedType = errors.New("unsupported type") + func GetFieldNameByTagValue(obj interface{}, tagKey, tagValue string) (string, error) v1.0.1 Nov 15, 2020 Changes in this version + func GetFieldType(obj interface{}, name string) (string, error) v1.0.0 Aug 17, 2016 Changes in this version + func Fields(obj interface{}) ([]string, error) + func FieldsDeep(obj interface{}) ([]string, error) + func GetField(obj interface{}, name string) (interface{}, error) + func GetFieldKind(obj interface{}, name string) (reflect.Kind, error) + func GetFieldTag(obj interface{}, fieldName, tagKey string) (string, error) + func HasField(obj interface{}, name string) (bool, error) + func Items(obj interface{}) (map[string]interface{}, error) + func ItemsDeep(obj interface{}) (map[string]interface{}, error) + func SetField(obj interface{}, name string, value interface{}) error + func Tags(obj interface{}, key string) (map[string]string, error) + func TagsDeep(obj interface{}, key string) (map[string]string, error)