AddRow adds a new row at the end of the table with the specified values
(values map[string]interface{})
| 498 | |
| 499 | // AddRow adds a new row at the end of the table with the specified values |
| 500 | func (t *Table) AddRow(values map[string]interface{}) { |
| 501 | |
| 502 | t.InsertRow(len(t.rows), values) |
| 503 | } |
| 504 | |
| 505 | // InsertRow inserts the specified values in a new row at the specified index |
| 506 | func (t *Table) InsertRow(row int, values map[string]interface{}) { |