// package main -- пускач для демонстратора монолита package main import ( "gitp78su.ipnodns.ru/svi/kern/v4" . "gitp78su.ipnodns.ru/svi/kern/v4/lev0/ktypes" ) var app IKernelMonolit func main() { app = kern.GetMonolitLocal("Demo monolit").Hassert("main()") modServHttp := kern.GetModuleServHttp().Hassert("main()") app.Add(modServHttp).Hassert("main()") modKernelCtx := kern.GetModuleKernelCtx().Hassert("main()") app.Add(modKernelCtx).Hassert("main()") modKernKeep := kern.GetModuleKernelKeeper().Hassert("main()") app.Add(modKernKeep).Hassert("main()") modWui := kern.GetModuleWui().Hassert("main()") app.Add(modWui).Hassert("main()") app.Run() app.Wait() }