I'm trying to save a struct to gob, but the file is missing the values of the nested type. I can save the Matrix type on its own, but the gob data of the Network struct doesn't include the Matrix values. Is there a way to save this nested struct to gob or do I have to split it?
type Matrix [][]float64
type Network struct {
wih Matrix
who Matrix
}
Thanks!