// GobEncode implements gob.GobEncoder.
GobEncode implements gob.GobEncoder.
// GobEncode implements gob . GobEncoder .
func (gd *Grid) GobEncode() ([]byte, error) {
	buf := bytes.Buffer{}
	ge := gob.NewEncoder(&buf)
	err := ge.Encode(&gd.innerGrid)
	return buf.Bytes(), err
}
func ( gd * Grid ) GobEncode ( ) ( [ ] byte , error ) { buf := bytes . Buffer { } ge := gob . NewEncoder ( & buf ) err := ge . Encode ( & gd . innerGrid ) return buf . Bytes ( ) , err }
GobEncode implements gob.GobEncoder.
GobEncode implements gob . GobEncoder .