Skip to content
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

sort tags in consistent order #53

Merged
merged 2 commits into from
Aug 10, 2024
Merged

sort tags in consistent order #53

merged 2 commits into from
Aug 10, 2024

Conversation

ucpr
Copy link
Collaborator

@ucpr ucpr commented Aug 4, 2024

Summary

Fix to sort the generated tags in a consistent order.

#51

@ucpr ucpr self-assigned this Aug 4, 2024
@ucpr ucpr force-pushed the consistently-sort-tags branch from 0cfffd0 to 40424ea Compare August 4, 2024 14:30
@ucpr ucpr force-pushed the consistently-sort-tags branch from 40424ea to d113be1 Compare August 4, 2024 14:37
@ucpr ucpr requested review from mesmerx and Kavuti August 4, 2024 14:47
@@ -2,6 +2,6 @@ package main

type Simple struct {
Single string `json:"key,option" sql:"-,omitempty"`
Multiple *string `json:"ke,op" xml:"-,omitempty"`
Multiple *string `json:"ke,op" xml:"-,omitempty" bson:"ke,op" sql:"ke,op"`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Only tags generated by protoc-gen-gotag are sorted in ascending order.

@ucpr ucpr merged commit dbf6758 into master Aug 10, 2024
@ucpr ucpr deleted the consistently-sort-tags branch August 10, 2024 02:31
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.

2 participants