添加日志输出文件行数

This commit is contained in:
黄思敏 2022-08-25 10:02:19 +08:00
parent 3018755a52
commit 068c31ec20

View File

@ -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()
}