From c110c3057e4976a93922053523add2d40af0f3bf Mon Sep 17 00:00:00 2001 From: godcong Date: Thu, 6 Feb 2020 01:54:18 +0800 Subject: [PATCH] update fate --- config/config.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/config/config.go b/config/config.go index bd59fff0..5fcf7b71 100644 --- a/config/config.go +++ b/config/config.go @@ -26,24 +26,24 @@ const ( ) type FileOutput struct { - OutputMode OutputMode - Path string - Heads []string + OutputMode OutputMode `json:"output_mode"` + Path string `json:"path"` + Heads []string `json:"heads"` } type Config struct { RunInit bool FilterMode FilterMode `json:"filter_mode"` - StrokeMax int - StrokeMin int - HardFilter bool - FixBazi bool //八字修正 - SupplyFilter bool //过滤补八字 - ZodiacFilter bool //过滤生肖 - BaguaFilter bool //过滤卦象 - Regular bool //常用 - Database Database `json:"database"` - FileOutput FileOutput + StrokeMax int `json:"stroke_max"` + StrokeMin int `json:"stroke_min"` + HardFilter bool `json:"hard_filter"` + FixBazi bool `json:"fix_bazi"` //八字修正 + SupplyFilter bool `json:"supply_filter"` //过滤补八字 + ZodiacFilter bool `json:"zodiac_filter"` //过滤生肖 + BaguaFilter bool `json:"bagua_filter"` //过滤卦象 + Regular bool `json:"regular"` //常用 + Database Database `json:"database"` + FileOutput FileOutput `json:"file_output"` } var DefaultJSONPath = ""