fix docs
This commit is contained in:
parent
6ce28547b8
commit
3443251be2
2
lib.go
2
lib.go
@ -131,7 +131,7 @@ func FieldValues(structure any) []Field {
|
|||||||
return fieldValuesReflect(structure)
|
return fieldValuesReflect(structure)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bind sets structure fields recursively. It traverses through poitners, slices and interfaces. It returns the
|
// Bind sets structure fields recursively. It traverses through pointers, slices and interfaces. It returns the
|
||||||
// values for which it is not possible to find a compatible matching field. It supports maps that have string
|
// values for which it is not possible to find a compatible matching field. It supports maps that have string
|
||||||
// keys and scalar values.
|
// keys and scalar values.
|
||||||
func Bind(structure any, value ...Field) []Field {
|
func Bind(structure any, value ...Field) []Field {
|
||||||
|
|||||||
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
Package bind provides functions to work with flattened lists of structure fields.
|
Package bind provides functions to work with flattened lists of structure fields.
|
||||||
|
|
||||||
See the documentation at: https://godocs.io/code.squareroundforest.org/arpio/bind
|
See the documentation at:
|
||||||
|
|
||||||
|
- https://godocs.io/code.squareroundforest.org/arpio/bind
|
||||||
|
- [lib.go](lib.go)
|
||||||
|
|
||||||
*Made in Berlin, DE*
|
*Made in Berlin, DE*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user