This package provides sets of functions to export variables to a GO code.
It has been extracted from github.com/gontainer/gontainer-helpers.
s, _ := exporter.Export([3]any{nil, 1.5, "hello world"})
fmt.Println(s)
// Output: [3]interface{}{nil, float64(1.5), "hello world"}
See examples.