Skip to content

Commit cf49554

Browse files
committed
启动命令不再展示版本号
可以使用 ./billing version 查看版本
1 parent 0efb7f8 commit cf49554

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/billing/run.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package billing
33
import (
44
"context"
55
"errors"
6-
"github.com/liuguangw/billing_go/services"
76
"os"
87
"os/signal"
98
"syscall"
@@ -18,7 +17,7 @@ func (s *Server) Run(logFilePath string) error {
1817
//退出前,执行清理任务
1918
defer s.clean()
2019
//输出build信息
21-
services.ShowVersionInfo(s.logger)
20+
s.logger.Info("(###) billing service starting ...")
2221
s.logger.Info("log file: " + s.logFile.Name())
2322
//初始化tcp Listener
2423
if err := s.initListener(); err != nil {

0 commit comments

Comments
 (0)