disgord icon indicating copy to clipboard operation
disgord copied to clipboard

chore: enforce naming concistency

Open andersfylling opened this issue 2 years ago • 1 comments

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 avatar Sep 11 '21 17:09 andersfylling

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 avatar Dec 26 '21 23:12 andersfylling