main.go 309 B

1234567891011121314151617181920
  1. package main
  2. import (
  3. "flag"
  4. "kpt.notice/apiserver/config"
  5. "kpt.notice/apiserver/server"
  6. "kpt.notice/pkg/log"
  7. "kpt.notice/apiserver/service"
  8. )
  9. func main() {
  10. flag.Parse()
  11. config.Init("")
  12. log.Init(config.Conf.Log)
  13. svc := service.New(config.Conf)
  14. server.Init(svc, config.Conf)
  15. service.JobInit()
  16. }