disgord
disgord copied to clipboard
chore: enforce naming concistency
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.
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.