package xlsx type Row struct { Cells []*Cell Hidden bool Sheet *Sheet } func (r *Row) AddCell() *Cell { cell := NewCell(r) r.Cells = append(r.Cells, cell) r.Sheet.maybeAddCol(len(r.Cells)) return cell }