注意,protoc 前是一个 tab 键,注意编辑器,有的编辑器会默认为 4 个空格 build: protoc -I. --go_out=plugins=grpc:. proto/consignment/*.proto 选择好对应的文件类型,勾选 use tab image.png