This commit is contained in:
Daniel 2025-08-09 17:10:22 +08:00
parent 8ca9f119d0
commit a9c2ae7351
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 35 additions and 0 deletions

View file

@ -141,6 +141,10 @@ func (table *Table) SetItems(items []Item) {
}
}
func (table *Table) CountItems() int {
return len(table.Rows)
}
func (table *Table) GetFields() (ret []Field) {
ret = []Field{}
for _, column := range table.Columns {