use logx
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15m24s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15m24s
This commit is contained in:
@ -2,7 +2,6 @@ package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
|
||||
"godemo/gallery/gallery"
|
||||
"godemo/gallery/internal/config"
|
||||
@ -10,6 +9,7 @@ import (
|
||||
"godemo/gallery/internal/svc"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/conf"
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
"github.com/zeromicro/go-zero/core/service"
|
||||
"github.com/zeromicro/go-zero/zrpc"
|
||||
"google.golang.org/grpc"
|
||||
@ -34,6 +34,6 @@ func main() {
|
||||
})
|
||||
defer s.Stop()
|
||||
|
||||
fmt.Printf("Starting rpc server at %s...\n", c.ListenOn)
|
||||
logx.Infof("Starting rpc server at %s...", c.ListenOn)
|
||||
s.Start()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user