运行一会儿会报错
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8d2c0a]
goroutine 43 [running]:
github.com/jmoiron/sqlx.(*DB).Queryx(0x0, {0xfead7f, 0x10}, {0xc0003fa000, 0xc0003fa000, 0x0})
/Volumes/code/GoPath/pkg/mod/github.com/jmoiron/sqlx@v1.3.1/sqlx.go:349 +0x2a
github.com/jmoiron/sqlx.Select({0x18eff78, 0x0}, {0xe831c0, 0xc0000b82e8}, {0xfead7f, 0xc000164200}, {0xc0003fa000, 0x4cc3de, 0xc000164200})
/Volumes/code/GoPath/pkg/mod/github.com/jmoiron/sqlx@v1.3.1/sqlx.go:674 +0x71
github.com/jmoiron/sqlx.(*DB).Select(...)
/Volumes/code/GoPath/pkg/mod/github.com/jmoiron/sqlx@v1.3.1/sqlx.go:317
ifile/ifile-go-pro/controller/apis.LocalSaomiao()
/Volumes/code/GoPath/src/ifile/ifile-go-pro/controller/apis/index.go:1551 +0xda
github.com/robfig/cron/v3.FuncJob.Run(0xc0003c82d0)
/Volumes/code/GoPath/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136 +0x1a
github.com/robf