-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I'm tring to generate the pb file for my golang project, but every time i execute the protoc
command i got some error.
the protoc command:
protoc -I=/c/User/Desktop/test/src/ --go_out=/c/User/Desktop/Helium/hnt/ /c/User/Desktop/test/src/blockchain_block.proto
output i got:
blockchain_block_v1.proto:21:12: "blockchain_txn" is not defined.
blockchain_block.proto:4:1: Import "blockchain_block_v1.proto" was not found or had errors.
blockchain_block.proto:7:17: "blockchain_block_v1" is not defined.
Can someone tell me how to fix this?
By the way i added option go_package = "./proto";
for every porot file, so it's probably not a go-generate problem
Metadata
Metadata
Assignees
Labels
No labels