wrt n-dim arrays: yes, it's a pain point.
we (Gonum devs) tried to push for an "n-dim slice" type a couple of years ago.
it didn't pan out.
generics may help in that department.
in the meantime, there's Apache Arrow:
generics may help in that department.
in the meantime, there's Apache Arrow:
[1] https://oracle.github.io/graphpipe
[2] https://github.com/oracle/graphpipe-go/blob/master/helpers.g...