diff --git a/ast.go b/ast.go index 7ec810c..5f8bdcb 100644 --- a/ast.go +++ b/ast.go @@ -41,11 +41,6 @@ func (g *graph) Lookup(name string) (Entity, bool) { return e, ok } -// ProcessDescriptors is deprecated; use ProcessCodeGeneratorRequest instead -func ProcessDescriptors(debug Debugger, req *plugin_go.CodeGeneratorRequest) AST { - return ProcessCodeGeneratorRequest(debug, req) -} - // ProcessCodeGeneratorRequest converts a CodeGeneratorRequest from protoc into a fully // connected AST entity graph. An error is returned if the input is malformed. func ProcessCodeGeneratorRequest(debug Debugger, req *plugin_go.CodeGeneratorRequest) AST { diff --git a/init_option.go b/init_option.go index 5c92c2f..257ebc3 100644 --- a/init_option.go +++ b/init_option.go @@ -49,9 +49,3 @@ func BiDirectional() InitOption { } // SupportedFeatures allows defining protoc features to enable / disable. -// See: https://github.com/protocolbuffers/protobuf/blob/v3.17.0/docs/implementing_proto3_presence.md#signaling-that-your-code-generator-supports-proto3-optional -func SupportedFeatures(feat *uint64) InitOption { - return func(g *Generator) { - g.persister.SetSupportedFeatures(feat) - } -} diff --git a/lang/go/type_name_p3_presence_test.go b/lang/go/type_name_p3_presence_test.go index cb0a2bc..6edb997 100644 --- a/lang/go/type_name_p3_presence_test.go +++ b/lang/go/type_name_p3_presence_test.go @@ -1,3 +1,4 @@ +//go:build proto3_presence // +build proto3_presence package pgsgo