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

feature: add support of datastore struct tags in struct-tag rule #1240

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

chavacava
Copy link
Collaborator

if w.isUserDefined(keyDatastore, opt) {
continue
}
return fmt.Sprintf("unknown option '%s' in Datastore tag", opt), false
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpicking

Suggested change
return fmt.Sprintf("unknown option '%s' in Datastore tag", opt), false
return fmt.Sprintf("unknown option '%s' in datastore tag", opt), false

Or a variation of this, with quotes maybe.

I'm unsure google datastore tag should be considered as an acronym or a brand.

JSON, BSON, XML were acronym. But look at the way "protobuf" tag is reported.

Copy link
Collaborator Author

@chavacava chavacava Feb 17, 2025

Choose a reason for hiding this comment

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

I have also hesitated with the name :)
The web site says "Datastore"

@chavacava chavacava merged commit a4ee892 into master Feb 18, 2025
7 checks passed
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