go-plotly icon indicating copy to clipboard operation
go-plotly copied to clipboard

Try to implement arrayok types

Open MetalBlueberry opened this issue 2 months ago • 8 comments

this is an attempt to implement arrayok types. This example just covers float64, but it should be easy to extrapolate to any other type.

The idea is that if the Array is defined, it will use that to create the json file and otherwise it will use the Value.

When using this to write code, it just introduces a small indirection with the advantage of keeping the type safety.

MetalBlueberry avatar May 19 '24 15:05 MetalBlueberry