package
0.0.0-20241212192544-4710020385f1
Repository: https://github.com/hackborn/onefunc.git
Documentation: pkg.go.dev

# Functions

Copy sets all fields in dst to any fields in src with the same name.
No description provided by the author
Get iterates the fields in a struct, sending the results to a handler.
GetAsMap iterates the fields in a struct, adding the results to a map based on a handler and returning the map.
GetAsSlice iterates the fields in a struct, adding the results to a slice based on a handler and returning the slice.
No description provided by the author
No description provided by the author
NewChain takes a list of items and converts them into handlers, answering the new handler Chain.
Set sets the value of each field to the supplied value.
SetJson takes a source string and a destination of any type and unmarshals the source to the destination.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

GetHandler is used to get name/value pairs from a struct.
Mapper can return a map.
Slicer can return a slice.

# Type aliases

No description provided by the author
SetFunc handles the work of assigning the destination value to the source value.