From 04537f27f0307c31f88ed6dd23eb4d763b7dd8d4 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 13 Feb 2024 22:41:20 +0800 Subject: [PATCH] fix print --- service/service.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,