summaryrefslogtreecommitdiff
path: root/table.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-04-16 13:53:16 +0800
committerxuri <xuri.me@gmail.com>2022-04-16 13:53:16 +0800
commit6fa950a4f852bd45b81c941877732ec516dcc673 (patch)
tree2abd993aeb119331646bab9c9f66c2978b9f82da /table.go
parent5a279321bb494141fb12ac010a33da4a78c6a309 (diff)
ref #65, new formula functions: SKEW.P and SLOPE, remove no-required format default
Diffstat (limited to 'table.go')
-rw-r--r--table.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/table.go b/table.go
index 0311a8e..b01c1cb 100644
--- a/table.go
+++ b/table.go
@@ -23,10 +23,7 @@ import (
// parseFormatTableSet provides a function to parse the format settings of the
// table with default value.
func parseFormatTableSet(formatSet string) (*formatTable, error) {
- format := formatTable{
- TableStyle: "",
- ShowRowStripes: true,
- }
+ format := formatTable{ShowRowStripes: true}
err := json.Unmarshal(parseFormatSet(formatSet), &format)
return &format, err
}