go-superstruct

[library] uses reflection to merge structs
git clone https://hhvn.uk/go-superstruct
git clone git://hhvn.uk/go-superstruct
Log | Files | Refs | LICENSE

commit a31995efc4e279b8d9df6104e9cf4b55b86336e4
parent bfc7d0eb8c7f66b910fc5d0ab482ca3e9b4f7d38
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 18 Feb 2024 17:25:49 +0000

Add canonical import path

Diffstat:
Msuperstruct.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superstruct.go b/superstruct.go @@ -5,7 +5,7 @@ // The intended use of this package is to quickly whack together structures for // json.Marshal. As json.Marshal uses reflection under the hood, a superstruct // can be passed to it like any other struct. -package superstruct +package superstruct // import "hhvn.uk/go-superstruct" import ( "fmt"