log
This commit is contained in:
parent
38e8945306
commit
959f06d5aa
@ -9,6 +9,7 @@ package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"git.zhangdeman.cn/zhangdeman/gopkg/cmd"
|
||||
@ -37,6 +38,8 @@ func main() {
|
||||
panic("任务配置文件读取失败 : " + err.Error())
|
||||
}
|
||||
|
||||
fmt.Println("读取到的任务配置 : " + string(byteData))
|
||||
|
||||
if err = json.Unmarshal(byteData, &TaskList); nil != err {
|
||||
panic("任务配置文件解析失败 : " + err.Error())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user