1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-02 20:02:53 +00:00
arikawa/utils/httputil
diamondburned 331ec59dec discord: Refactor interactions and components
This commit gets rid of contain-it-all structs and instead opt for
interface union types containing underlying concrete types with no
overloading.

The code is much more verbose by doing this, but the API is much nicer
to use. The only disadvantage in that regard is the interface assertion
being too verbose and risky for users at times.
2021-11-12 11:38:36 -08:00
..
httpdriver API: Added WithContext API, closes #15 2020-05-03 14:02:03 -07:00
client.go discord: Refactor interactions and components 2021-11-12 11:38:36 -08:00
driverwrap.go *: Migrated Go Modules to v3 2021-06-01 19:59:01 -07:00
errors.go API: Potential rate limit fix for reactions 2020-12-11 17:58:52 -08:00
options.go *: Migrated Go Modules to v3 2021-06-01 19:59:01 -07:00
schema.go Changed internal/ to utils/, allowing external imports 2020-04-08 19:28:40 -07:00