Skip to content

Commit

Permalink
chore: Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
yokoel committed Mar 30, 2019
1 parent 4785900 commit 386fb86
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ if err != nil {
// table.GetValue(0, 0)
```

### Convert table to map
Key comes from first column value, value from second column value.

```
m := table.ToMap()
log.Printf("key values: %+v\n", m)
```

### Export table as CSV
```
buf := bytes.NewBufferString("")
Expand Down

0 comments on commit 386fb86

Please sign in to comment.