GoToSocial/internal/cache
kim e58d2d8122
[chore] move caches to a separate State{} structure (#1078)
* move caches to a separate State{} structure

Signed-off-by: kim <grufwub@gmail.com>

* fix call to log.Panic not using formatted call

Signed-off-by: kim <grufwub@gmail.com>

* move caches to use interfaces, to make switchouts easier in future

Signed-off-by: kim <grufwub@gmail.com>

* fix rebase issue

Signed-off-by: kim <grufwub@gmail.com>

* improve code comment

Signed-off-by: kim <grufwub@gmail.com>

* fix further issues after rebase

Signed-off-by: kim <grufwub@gmail.com>

* heh

Signed-off-by: kim <grufwub@gmail.com>

* add missing license text

Signed-off-by: kim <grufwub@gmail.com>

Signed-off-by: kim <grufwub@gmail.com>
2022-12-08 18:35:14 +01:00
..
ap.go [chore] move caches to a separate State{} structure (#1078) 2022-12-08 18:35:14 +01:00
cache.go [chore] move caches to a separate State{} structure (#1078) 2022-12-08 18:35:14 +01:00
gts.go [chore] move caches to a separate State{} structure (#1078) 2022-12-08 18:35:14 +01:00
util.go [chore] move caches to a separate State{} structure (#1078) 2022-12-08 18:35:14 +01:00