package
3.0.0+incompatible
Repository: https://github.com/oleoneto/go-structs.git
Documentation: pkg.go.dev
# Functions
Check if the element is contained within the given collection.
Replacement for the standard `json.Unmarshal` implementation.
Filters a collection and returns only the elements that match the provided `inclusionTest`.
Fetches all the fields of the given struct instance and returns a flattened list with all of its attributes.
Get the first value of the `json` tag.
Get each of the attributes of the given tag.
Get all the tags of the given struct field.
Get the first value of the given tag.
Get the full value of the given tag.
Applies a `transformer` function to every element in a list.
Get a list of all the struct fields that contain the provided values in the specified tag.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Returns whether or not a struct field contains the provided values in the specified tag.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
The literal name of the validation tag as it'll appear in the struct.
# Variables
No description provided by the author
Tag attributes that should be excluded.
# Structs
No description provided by the author
No description provided by the author
This type abstracts both `reflect.Value` and `reflect.StructField` types.
# Type aliases
No description provided by the author
No description provided by the author