fix print
This commit is contained in:
parent
0893617074
commit
04537f27f0
|
@ -16,13 +16,14 @@ import (
|
||||||
func Register(srvKey string, cfg any) {
|
func Register(srvKey string, cfg any) {
|
||||||
vars.ServiceKey = srvKey
|
vars.ServiceKey = srvKey
|
||||||
|
|
||||||
print.Info("[Blocks Service] %s Starting...", vars.ServiceKey)
|
|
||||||
// get os env.
|
// get os env.
|
||||||
env.NewEnv()
|
env.NewEnv()
|
||||||
|
|
||||||
// open side cmd.
|
// open side cmd.
|
||||||
cmd.NewCmd()
|
cmd.NewCmd()
|
||||||
|
|
||||||
|
print.Info("[Blocks Service] %s Starting...", vars.ServiceKey)
|
||||||
|
|
||||||
// set config args.
|
// set config args.
|
||||||
args := map[string]string{
|
args := map[string]string{
|
||||||
"ServiceKey": srvKey,
|
"ServiceKey": srvKey,
|
||||||
|
|
Loading…
Reference in New Issue