Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

chore: enforce naming concistency #432

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

andersfylling
Copy link
Owner

Recently came across some variables names that used the same convention as some rest params. Given that there are.. probably hundreds of vars/consts and well over a hundred types, I'm adding a new way to enforce naming convention for certain types using go generate.

This is going to cause a breaking change and will take some time to clean up. If the rework is too massive, I might dismiss this PR and figure out a simpler solution.

@andersfylling
Copy link
Owner Author

I think this could be a nice idea, but I would like to be able to map which types are REST calls and which are events.

@andersfylling andersfylling changed the title enforce naming concistency chore: enforce naming concistency Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant