移出不使用的代码

This commit is contained in:
Mr.Li 2023-04-06 20:35:11 +08:00
parent 69b5ee0814
commit ed692073cf
3 changed files with 1 additions and 3 deletions

View File

@ -72,6 +72,7 @@ func TaskExport(d export.DataFetcher, t config.Task, params map[string]interface
}
params["last"] = last
time.Sleep(time.Microsecond * 30)
}
return nil
}

View File

@ -31,8 +31,6 @@ func Execute() {
}
func rootRun(cmd *cobra.Command, args []string) {
fmt.Println(args)
c := config.DefaultConfig
sName := cmd.Flag("system").Value.String()

View File

@ -16,7 +16,6 @@ func main() {
Location: time.UTC,
ExcelTimeFormat: "yyyy-m-d h:mm:ss",
}
xlsx.DefaultDateTimeFormat = ""
path, _ := os.Getwd()
Config = config.LoadConfig(path + "/config")