gotosocial/cmd/gotosocial
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
..
action [chore] move caches to a separate State{} structure (#1078) 2022-12-08 18:35:14 +01:00
admin.go [feature] Add admin media prune orphaned CLI command (#1146) 2022-11-25 17:23:42 +00:00
common.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
debug.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
main.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
server.go [chore] Global server configuration overhaul (#575) 2022-05-30 14:41:24 +02:00
testrig.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00