Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFieldNotFound = errors.New("field not found")
Functions ¶
func FieldTagValue ¶ added in v0.62.4
FieldTagValue returns a tag name. For example, in 'Attribute string: `json:"attribute,omitempty"`', the usage would be `FieldTagValue(s, "Attribute", "json")` which would return `attribute`.
func NameOf ¶ added in v0.46.0
NameOf returns the name of a struct. If `inclPkgPath` is set to `true`, a fully-qualified name is returned including package path.
func SliceInterfaceToString ¶
SliceInterfaceToString converts an `any` to a `[]string`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.