<commit_before># Simple tables in terminal with Go

[![Travis](https://img.shields.io/travis/alexeyco/simpletable.svg)](https://travis-ci.org/alexeyco/simpletable)&nbsp;[![Coverage Status](https://coveralls.io/repos/github/alexeyco/simpletable/badge.svg?branch=master)](https://coveralls.io/github/alexeyco/simpletable?branch=master)&nbsp;[![Go Report Card](https://goreportcard.com/badge/github.com/alexeyco/simpletable)](https://goreportcard.com/report/github.com/alexeyco/simpletable)&nbsp;[![GoDoc](https://godoc.org/github.com/alexeyco/simpletable?status.svg)](https://godoc.org/github.com/alexeyco/simpletable)

This package allows to generate and display ascii tables in the terminal, f.e.:

```
+----+------------------+--------------+-----------------------------+------+
| #  |       NAME       |    PHONE     |            EMAIL            | QTTY |
+----+------------------+--------------+-----------------------------+------+
|  1 | <NAME>  | 252-585-5166 | <EMAIL>     |   10 |
|  2 | <NAME> | 865-475-4171 | <EMAIL>   |   12 |
|  3 | <NAME>  | 810-325-1417 | <EMAIL>    |   15 |
|  4 | <NAME>     | 217-450-8568 | <EMAIL>         |   25 |
|  5 | <NAME>   | 870-794-1666 | <EMAIL>       |    5 |
|  6 | <NAME>   | 770-333-7379 | SofiaJS<EMAIL>     |    3 |
|  7 | <NAME>  | 231-242-4157 | <EMAIL> |   12 |
|  8 | <NAME>   | 978-210-4178 | <EMAIL>       |   44 |
|  9 | <NAME>    | 719-966-5354 | <EMAIL>   |    8 |
| 10 | <NAME>  | 908-910-8893 | <EMAIL>     |   16 |
+----+------------------+--------------+-----------------------------+------+
|                                                           Subtotal |  150 |
+----+------------------+--------------+-----------------------------+------+
```

There are the following key features:
* **Declarative style.** _Have to write more code, and hell with it._
* **Styling.** _With 6 predefined styles: MySql-like (default), compact, compact lite, markdown, 
  rounded and unicode. And you can change it._
* **Header and footer.** _Separeted from table body._<commit_msg>fixed Separated<commit_after># Simple tables in terminal with Go

[![Travis](https://img.shields.io/travis/alexeyco/simpletable.svg)](https://travis-ci.org/alexeyco/simpletable)&nbsp;[![Coverage Status](https://coveralls.io/repos/github/alexeyco/simpletable/badge.svg?branch=master)](https://coveralls.io/github/alexeyco/simpletable?branch=master)&nbsp;[![Go Report Card](https://goreportcard.com/badge/github.com/alexeyco/simpletable)](https://goreportcard.com/report/github.com/alexeyco/simpletable)&nbsp;[![GoDoc](https://godoc.org/github.com/alexeyco/simpletable?status.svg)](https://godoc.org/github.com/alexeyco/simpletable)

This package allows to generate and display ascii tables in the terminal, f.e.:

```
+----+------------------+--------------+-----------------------------+------+
| #  |       NAME       |    PHONE     |            EMAIL            | QTTY |
+----+------------------+--------------+-----------------------------+------+
|  1 | <NAME>  | 252-585-5166 | <EMAIL>     |   10 |
|  2 | <NAME> | 865-475-4171 | <EMAIL>   |   12 |
|  3 | <NAME>  | 810-325-1417 | <EMAIL>    |   15 |
|  4 | <NAME>     | 217-450-8568 | <EMAIL>         |   25 |
|  5 | <NAME>   | 870-794-1666 | <EMAIL>       |    5 |
|  6 | <NAME>   | 770-333-7379 | <EMAIL>     |    3 |
|  7 | <NAME>  | 231-242-4157 | <EMAIL> |   12 |
|  8 | <NAME>   | 978-210-4178 | <EMAIL>       |   44 |
|  9 | <NAME>    | 719-966-5354 | <EMAIL>   |    8 |
| 10 | <NAME>  | 908-910-8893 | <EMAIL>     |   16 |
+----+------------------+--------------+-----------------------------+------+
|                                                           Subtotal |  150 |
+----+------------------+--------------+-----------------------------+------+
```

There are the following key features:
* **Declarative style.** _Have to write more code, and hell with it._
* **Styling.** _With 6 predefined styles: MySql-like (default), compact, compact lite, markdown, 
  rounded and unicode. And you can change it._
* **Header and footer.** _Separated from table body._
{'fraction_non_alphanumeric': 0.2944212337183583, 'fraction_numerical': 0.0648808060948636, 'mean_word_length': 1.6360103626943006, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7260655', 'n_tokens_mistral': 1513, 'n_tokens_neox': 1311, 'n_words': 246}