Skip to content

gotable3: Storage

Latest

Choose a tag to compare

@liushuochen liushuochen released this 30 Oct 17:12
· 15 commits to master4.0 since this release

In this release, gotable mainly adds APIs for storing table data as files. For example JSON and CSV files. Here are the changes of this release:

  1. New Functions / Methods:
  • Save table data to CSV file(*table.ToCSVFile)
  • Save table data to JSON file(*table.ToJsonFile)
  • Check whether column exists(*table.HasColumn)
  • Compare whether the columns of two tables are the same(*table.EqualColumns)
  • Clear all table data: columns and rows(*table.Clear)
  1. Delete Functions / Methods:
  • Create table(gotable.CreateTable)
  1. Fix issues:
  • Fix an issue that empty columns can not create a table.
  1. Improvement
  • Optimized the documentation. Different modules can be vistied by internal links.
  • Print empty table do not print tips anymore.