mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-11 07:54:58 +00:00
331ec59dec
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. |
||
---|---|---|
.. | ||
shard | ||
commands.go | ||
events.go | ||
events_map.go | ||
gateway.go | ||
identify.go | ||
integration_test.go | ||
intents.go | ||
op.go | ||
perseverance_test.go | ||
ready.go |