mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-10 23:45:42 +00:00
diamondburned
c6679dc52c
This commit refactors the Store interface in State into smaller interfaces in package store. These interfaces are combined into one structure called a "Cabinet". The default implementation of those interfaces have been rewritten in package defaultstore, while the old no-op implementation stays with the store package. This commit also omitted several state handlers for user events, as it is unclear what they are actually structured like. |
||
---|---|---|
.. | ||
bool.go | ||
guildid_set.go | ||
int.go | ||
mutex.go | ||
snowflake.go | ||
snowflake_set.go | ||
string.go | ||
syncmap.go | ||
time.go |