protoc-gen-go: error:bad Go source code was generated: 163:6: illegal UTF-8 encoding (and 2915 more errors)
1 // Code generated by protoc-gen-go. DO NOT EDIT.

原因是proto 文件中含有中文

解决方法:

1 把所有中文去掉 

2 中文放在message 结构的 下面,但接口中不能喊中文注释、第一个message 上面也不能有中文

相关文章:

  • 2021-12-24
  • 2021-09-16
  • 2021-04-26
  • 2021-11-26
  • 2021-11-21
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2021-09-12
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
  • 2021-12-31
相关资源
相似解决方案