check Assets
This commit is contained in:
parent
fb062c2ad9
commit
7728bcd28f
7
main.go
7
main.go
@ -97,6 +97,13 @@ func main() {
|
||||
err := gcfg.ReadFileInto(&cfg, *config)
|
||||
failOnError(err, "Parsing config")
|
||||
|
||||
bs, err := Asset("data/code_obj_type.json")
|
||||
failOnError(err, "data/code_obj_type.json")
|
||||
bs, err = Asset("data/code_obj_type.json")
|
||||
failOnError(err, "data/code_obj_sub_type.json")
|
||||
bs, err = Asset("data/code_obj_type.json")
|
||||
failOnError(err, "data/msg_rules.json")
|
||||
|
||||
// Connecting to DB
|
||||
switch cfg.SQL.Driver {
|
||||
case "mysql":
|
||||
|
Loading…
Reference in New Issue
Block a user