Closed andersfylling closed 2 years ago
I think I'm going to make this PR about disgordtest instead. The QueryBuilders are for testing only.
Sadly I just realised that this is blocked until the QueryUpdates either gets a interface or are removed. They currently return a unexported type which makes it impossible to implement them outside of disgord.
Description
There is some stuff I'd like exported, but doesn't really belong in the disgord package. One of these are implementations for the query builder interfaces, first introduced by @JakeMakesStuff . I think these are nice, but they waste a lot of space in the docs and id like to move them to a more appropriate package.
First round is to auto generate these nop query builders from the interfaces.
Other functionality that may be moved to disgordutil is everything in utils.go, perhaps sorting.. we will see.
A disgordtest package will be created later, in a new PR.
Breaking Change?
no
Benchmarks
Checklist: