Skip to content

feat: add method to clear the table#34

Merged
owenrumney merged 1 commit into
aquasecurity:mainfrom
ajunior:main
Jul 13, 2025
Merged

feat: add method to clear the table#34
owenrumney merged 1 commit into
aquasecurity:mainfrom
ajunior:main

Conversation

@ajunior
Copy link
Copy Markdown
Contributor

@ajunior ajunior commented May 2, 2025

Add a method to clear the table. It does not clear the header.

Example:
t := table.New(os.Stdout)
t.SetHeaders("A", "B", "C")
t.AddRow("1", "2", "3")
t.AddRow("4", "5", "6")
t.Clear()

This PR refers to the issue #25.

Copy link
Copy Markdown
Contributor

@owenrumney owenrumney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@ajunior
Copy link
Copy Markdown
Contributor Author

ajunior commented Jul 13, 2025

@owenrumney can you please release this feature?

@owenrumney owenrumney merged commit 303272d into aquasecurity:main Jul 13, 2025
3 checks passed
@owenrumney
Copy link
Copy Markdown
Contributor

@ajunior - apologies, not sure how I approved then didn't merge and release. Done now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants