Closed
Description
What version of protobuf and what language are you using?
Version: v1.36.0
What did you do?
// demo.proto
edition = "2023";
import "google/protobuf/go_features.proto";
option features.(pb.go).api_level = API_OPAQUE;
message Demo {
string name = 1;
}
protoc --go_out=. --go-grpc_out=. demo.proto
Following the recent Go blog post and tutorial about OPAQUE API.
What did you expect to see?
The compiled files.
What did you see instead?
$ protoc --go_out=. --go-grpc_out=. demo.proto
google/protobuf/go_features.proto: File not found.
demo.proto:3:1: Import "google/protobuf/go_features.proto" was not found or had errors.
I checked the docs twice, I can't find additional information about this. Is this a bug?
Metadata
Assignees
Labels
No labels
Activity