1234567891011121314151617181920 |
- package main
- import (
- "flag"
- "kpt.notice/apiserver/config"
- "kpt.notice/apiserver/server"
- "kpt.notice/pkg/log"
- "kpt.notice/apiserver/service"
- )
- func main() {
- flag.Parse()
- config.Init("")
- log.Init(config.Conf.Log)
- svc := service.New(config.Conf)
- server.Init(svc, config.Conf)
- service.JobInit()
- }
|