summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-07-13 17:40:47 +0800
committerxuri <xuri.me@gmail.com>2018-07-13 17:40:47 +0800
commit79dfe1c3070b3c4af14a40acaa5bd8cb477acd3e (patch)
tree6f980b68b9b2ac097f4d3a7e2f6cb3d7be756c6a /table.go
parent58a7b23d11ef36156af6f694a1753715df8ae2fc (diff)
GoDoc updated.
Diffstat (limited to 'table.go')
-rw-r--r--table.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table.go b/table.go
index 941b52f..67f9be0 100644
--- a/table.go
+++ b/table.go
@@ -16,7 +16,7 @@ func parseFormatTableSet(formatSet string) (*formatTable, error) {
TableStyle: "",
ShowRowStripes: true,
}
- err := json.Unmarshal([]byte(formatSet), &format)
+ err := json.Unmarshal(parseFormatSet(formatSet), &format)
return &format, err
}