摘要: 解决方法: 在生成protocol文件后,执行如下命令,去除omitempty标签即可。 Get-ChildItem -Path "C:\path\to\directory" -Recurse -Filter "*.pb.go" | ForEach-Object { $file = $_.FullN 阅读全文
posted @ 2023-02-27 09:43 JohnRey 阅读(360) 评论(0) 推荐(0) 编辑