fix bug
This commit is contained in:
21
cmd/readd/main.go
Normal file
21
cmd/readd/main.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"git.apinb.com/dataset/stock/internal/config"
|
||||
"git.apinb.com/dataset/stock/internal/cron"
|
||||
"git.apinb.com/dataset/stock/internal/impl"
|
||||
)
|
||||
|
||||
var (
|
||||
ServiceKey = "stock"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// 配置初始化
|
||||
config.New(ServiceKey)
|
||||
|
||||
// 创建实现层
|
||||
impl.NewImpl()
|
||||
|
||||
cron.UpdateTask()
|
||||
}
|
||||
Reference in New Issue
Block a user