diff --git a/service/service.go b/service/service.go index ca49c7f..c84de36 100644 --- a/service/service.go +++ b/service/service.go @@ -16,13 +16,14 @@ import ( func Register(srvKey string, cfg any) { vars.ServiceKey = srvKey - print.Info("[Blocks Service] %s Starting...", vars.ServiceKey) // get os env. env.NewEnv() // open side cmd. cmd.NewCmd() + print.Info("[Blocks Service] %s Starting...", vars.ServiceKey) + // set config args. args := map[string]string{ "ServiceKey": srvKey,