From 493c7fddefaae6c272933f9030d53c01d99f1421 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Wed, 16 Nov 2022 09:21:54 +0100 Subject: [PATCH] Adds API documentation --- pkg/goutils/goutils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/goutils/goutils.go b/pkg/goutils/goutils.go index d819f42..0237ba3 100644 --- a/pkg/goutils/goutils.go +++ b/pkg/goutils/goutils.go @@ -171,6 +171,8 @@ func CastableToInt(i interface{}) bool { } } +// > It copies the contents of the `src` map into the `dest` map, but if the value is a map, slice, or +// array, it makes a deep copy of it func MustFillMap(dest, src map[string]interface{}) { for k, v := range src {