File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,14 @@ import (
11
11
"github.com/relab/gorums/internal/version"
12
12
13
13
"google.golang.org/protobuf/compiler/protogen"
14
+ "google.golang.org/protobuf/types/pluginpb"
14
15
)
15
16
16
17
const (
17
- bundleLen = len ("--bundle=" )
18
- genGorumsDocURL = "https://github.com/relab/gorums/blob/master/doc/user-guide.md"
19
- genGoDocURL = "https://developers.google.com/protocol-buffers/docs/reference/go-generated"
18
+ bundleLen = len ("--bundle=" )
19
+ genGorumsDocURL = "https://github.com/relab/gorums/blob/master/doc/user-guide.md"
20
+ genGoDocURL = "https://developers.google.com/protocol-buffers/docs/reference/go-generated"
21
+ supportedFeatures = uint64 (pluginpb .CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL )
20
22
)
21
23
22
24
func main () {
@@ -59,6 +61,7 @@ func main() {
59
61
}
60
62
}
61
63
}
64
+ gen .SupportedFeatures = supportedFeatures
62
65
return nil
63
66
})
64
67
}
You can’t perform that action at this time.
0 commit comments