Skip to content

fix import in protobuf #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Mohammad-Kashi
Copy link

No description provided.

Comment on lines +360 to +373
googleImports := map[string]string{
"google/protobuf/any.proto": "anypb \"google.golang.org/protobuf/types/known/anypb\"",
"google/protobuf/api.proto": "apipb \"google.golang.org/protobuf/types/known/apipb\"",
"google/protobuf/descriptor.proto": "descriptorpb \"google.golang.org/protobuf/types/descriptorpb\"",
"google/protobuf/duration.proto": "durationpb \"google.golang.org/protobuf/types/known/durationpb\"",
"google/protobuf/empty.proto": "emptypb \"google.golang.org/protobuf/types/known/emptypb\"",
"google/protobuf/field_mask.proto": "fieldmaskpb \"google.golang.org/protobuf/types/known/fieldmaskpb\"",
"google/protobuf/go_features.proto": "gofeaturespb \"google.golang.org/protobuf/types/gofeaturespb\"",
"google/protobuf/source_context.proto": "sourcecontextpb \"google.golang.org/protobuf/types/known/sourcecontextpb\"",
"google/protobuf/struct.proto": "structpb \"google.golang.org/protobuf/types/known/structpb\"",
"google/protobuf/timestamp.proto": "timestamppb \"google.golang.org/protobuf/types/known/timestamppb\"",
"google/protobuf/type.proto": "typepb \"google.golang.org/protobuf/types/known/typepb\"",
"google/protobuf/wrappers.proto": "wrapperspb \"google.golang.org/protobuf/types/known/wrapperspb\"",
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move it out of the function ? As a constant ?

Copy link
Member

@coolwednesday coolwednesday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add before and After screenshots ....

Also Please address the Code quality issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants