You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the code generated for top-level singletons with protoc-gen-aip-go@v0.68.0 is invalid. Specifically, the fmt and strings packages are imported but not used, resulting in compilation errors.
For example, the following proto:
messageConfig {
option(google.api.resource)= {
type: "test1.testdata/Config"singular: "config"plural: "configs"pattern: "config"
};
// The resource name of the config.stringname=1;
}
It seems that the code generated for top-level singletons with
protoc-gen-aip-go@v0.68.0
is invalid. Specifically, thefmt
andstrings
packages are imported but not used, resulting in compilation errors.For example, the following proto:
generates the following code:
which, when compiled, produces the following errors:
The text was updated successfully, but these errors were encountered: