mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-29 22:47:58 +02:00
start file refactor.
This commit is contained in:
parent
894c0f28dc
commit
e852afcf2a
3 changed files with 58 additions and 41 deletions
|
@ -117,10 +117,10 @@ func init() {
|
|||
logger.Info().Msg("preflight complete")
|
||||
}
|
||||
|
||||
neko.Service.Root.Set()
|
||||
neko.Service.Configs.Root.Set()
|
||||
})
|
||||
|
||||
if err := neko.Service.Root.Init(root); err != nil {
|
||||
if err := neko.Service.Configs.Root.Init(root); err != nil {
|
||||
log.Panic().Err(err).Msg("unable to run root command")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue