| | |
| | | package insertdata |
| | | |
| | | import ( |
| | | "ruleprocess/logger" |
| | | "encoding/json" |
| | | "errors" |
| | | "fmt" |
| | | "io/ioutil" |
| | | "net" |
| | | "ruleprocess/cache" |
| | | "ruleprocess/logger" |
| | | "strings" |
| | | "time" |
| | | |
| | |
| | | func init() { |
| | | logger.Info("_________________________________________老子想看你执行了没") |
| | | fmt.Println("_________________________________________老子想看你执行了没") |
| | | data, err := ioutil.ReadFile("../config/conf.yml") |
| | | data, err := ioutil.ReadFile("./config/conf.yml") |
| | | if err != nil { |
| | | fmt.Println("读取配置文件出错--",err) |
| | | logger.Error("读取配置文件出错--",err) |
| | |
| | | "bytes" |
| | | "flag" |
| | | "fmt" |
| | | "ruleprocess/logger" |
| | | "github.com/golang/protobuf/proto" |
| | | "gocv.io/x/gocv" |
| | | "image" |
| | |
| | | "ruleprocess/cache" |
| | | "ruleprocess/ruleserver" |
| | | "ruleprocess/util" |
| | | "ruleprocess/logger" |
| | | "ruleprocess/insertdata" |
| | | "sync" |
| | | ) |