Skip to content
Golang table model, with renderers for multiple backends
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
auto
csv
examples
html
json
length
markdown
properties
texttable
.gitignore
.travis.yml
.version
CoverTest.sh
LICENSE.txt
Overview.md
README.md
atable.go
cell.go
doc.go
error_containers.go
error_types.go
errors_test.go
go.mod
go.sum
location.go
pretty.go
properties.go
render_callbacks.go
row.go
table.go
types.go
version.go
version_test.go

README.md

tabular

Continuous Integration Documentation Coverage Status Current Tag Issues Repo Size

The tabular package provides a Golang library for storing data in a table consisting of rows and columns. Sub-packages provide for rendering such a table as a terminal box-table (line-drawing with UTF-8 box-drawing in various styles, or ASCII), as HTML, or as CSV data.

The core data model is designed to be extensible and powerful, letting such a table be embedded in various more sophisticated models. (Eg, core of a spreadsheet). Cells in the table contain arbitrary data and possess metadata in the form of "properties", modelled after the context package's Context.

A table can be created from the base package and then populated, before being passed to any of the renderers, or a table can be directly created using a sub-package, such that you probably won't need to import the base package directly.

An overview guide to the codebase can be found in the Overview.md

The usage documentation is in Godoc format

See the examples for a gentler introduction.

This package should be installable in the usual go get manner.

This software is under a MIT-type license.


Projects using Tabular

  • character — Unicode character lookups and manipulations
You can’t perform that action at this time.