From 3443251be2d53784f2f30bea87dfa1d3693aa8d6 Mon Sep 17 00:00:00 2001 From: Arpad Ryszka Date: Wed, 5 Nov 2025 19:16:44 +0100 Subject: [PATCH] fix docs --- lib.go | 2 +- readme.md | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib.go b/lib.go index a888c76..3d6a48d 100644 --- a/lib.go +++ b/lib.go @@ -131,7 +131,7 @@ func FieldValues(structure any) []Field { 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 // keys and scalar values. func Bind(structure any, value ...Field) []Field { diff --git a/readme.md b/readme.md index a1f584a..c3476bb 100644 --- a/readme.md +++ b/readme.md @@ -2,6 +2,9 @@ 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*