123456789101112131415161718192021 |
- package main
- import (
- "kpt.notice/apiserver/config"
- "kpt.notice/apiserver/service"
- "kpt.notice/local"
- // "../config"
- // "../local"
- // "../service"
- )
- func main() {
- LocalInit()
- local.TestMsg()
- }
- func LocalInit() {
- config.Init("/Users/desire/kptdev/notice/cmd/apiserver/conf.toml")
- svc := service.New(config.Conf)
- local.Init(svc)
- }
|