mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
kim is a reply guy (#208)
* bun debug * bun trace logging hooks * more tests * fix up some stuffffff * drop the frontend cache until a proper fix is made * go fmt
This commit is contained in:
@@ -178,20 +178,18 @@ type TypeConverter interface {
|
||||
}
|
||||
|
||||
type converter struct {
|
||||
config *config.Config
|
||||
db db.DB
|
||||
log *logrus.Logger
|
||||
frontendCache cache.Cache
|
||||
asCache cache.Cache
|
||||
config *config.Config
|
||||
db db.DB
|
||||
log *logrus.Logger
|
||||
asCache cache.Cache
|
||||
}
|
||||
|
||||
// NewConverter returns a new Converter
|
||||
func NewConverter(config *config.Config, db db.DB, log *logrus.Logger) TypeConverter {
|
||||
return &converter{
|
||||
config: config,
|
||||
db: db,
|
||||
log: log,
|
||||
frontendCache: cache.New(),
|
||||
asCache: cache.New(),
|
||||
config: config,
|
||||
db: db,
|
||||
log: log,
|
||||
asCache: cache.New(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user