From 068c31ec207c70580383398a2dd0f7799608d5b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Thu, 25 Aug 2022 10:02:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E6=96=87=E4=BB=B6=E8=A1=8C=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.go b/main.go index fc7100a..10e40db 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,13 @@ package main +import "log" + +func init() { + log.SetFlags(log.Llongfile | log.LstdFlags) +} + //go:generate bash -c "protoc --go_out=plugins=grpc:. proto/*.proto" func main() { + NewNetCard().Run() }