From beddc35deef94fbe7ce1aea647893a7ff2fd396e Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Mon, 14 Oct 2024 22:49:23 +0400 Subject: [PATCH] Feature: get table content --- table.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/table.go b/table.go index 92b94cc..f2f2efa 100644 --- a/table.go +++ b/table.go @@ -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()