你好大佬我按照方法尝试报错了,麻烦有空看下
- Dominant language
- Go
- Stars
- 59
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
D:\开发工具\go-code\learn\rpc\proto\pb>protoc --protorpc_out=. arith.proto
WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated.
A future release of golang/protobuf will delete this package,
which has long been excluded from the compatibility promise.
2020/06/10 09:10:58 template: :12:15: executing "" at <$File.PackageName>: can't evaluate field PackageName in type *generator.FileDescriptor
--protorpc_out: protoc-gen-protorpc: Plugin failed with status code 1.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `protoc --protorpc_out=. arith.proto` from the reported directory and capture the generator failure at template line 12, where `$File.PackageName` cannot be evaluated. Trace that template and the `generator.FileDescriptor` value used by the plugin; done means the reported proto command completes without the plugin failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100