fix print

This commit is contained in:
david 2024-02-13 22:41:20 +08:00
parent 0893617074
commit 04537f27f0
1 changed files with 2 additions and 1 deletions

View File

@ -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,