Skip to content

Commit

Permalink
Improved Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
olekukonko committed Feb 5, 2014
1 parent b4abef8 commit 5e40e38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Generate ASCII table on the fly ... Installation is simple as
- `NewHTML` Parse table from HTML


#### Example 1
#### Example 1 - Basic
```go
data := [][]string{
[]string{"A", "The Good", "500"},
Expand Down Expand Up @@ -56,7 +56,7 @@ table.Render() // Send output
+------+-----------------------+--------+
```

#### Example 2
#### Example 2 - CSV
```go
table, _ := tablewriter.NewCSV(os.Stdout, "test_info.csv")
table.SetAlignment(table.ALIGN_LEFT) // Set Alignment
Expand All @@ -74,8 +74,8 @@ table.Render()
+----------+--------------+------+-----+---------+----------------+
```

#### Example 3
```
#### Example 3 - Separator
```go
table, _ := tablewriter.NewCSV(os.Stdout, "test.csv")
table.SetRowLine(true) // Enable row line

Expand Down

0 comments on commit 5e40e38

Please sign in to comment.