Feature: get table content

This commit is contained in:
Igor Pavlov 2024-10-14 22:49:23 +04:00 committed by GitHub
parent a64fc48d76
commit beddc35dee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -562,6 +562,11 @@ func (t *Table) SetContent(content TableContent) *Table {
return t
}
// GetContent returns current table's content
func (t *Table) GetContent() TableContent {
return t.content
}
// Clear removes all table data.
func (t *Table) Clear() *Table {
t.content.Clear()