diff options
| author | 2023-05-25 10:37:38 +0200 | |
|---|---|---|
| committer | 2023-05-25 10:37:38 +0200 | |
| commit | f5c004d67d4ed66b6c6df100afec47174aa14ae0 (patch) | |
| tree | 45b72a6e90450d711e10571d844138186fe023c9 /internal/db/bundb/bundb.go | |
| parent | [docs] local docs hacking howto (#1816) (diff) | |
| download | gotosocial-f5c004d67d4ed66b6c6df100afec47174aa14ae0.tar.xz | |
[feature] Add List functionality (#1802)
* start working on lists
* further list work
* test list db functions nicely
* more work on lists
* peepoopeepoo
* poke
* start list timeline func
* we're getting there lads
* couldn't be me working on stuff... could it?
* hook up handlers
* fiddling
* weeee
* woah
* screaming, pissing
* fix streaming being a whiny baby
* lint, small test fix, swagger
* tidying up, testing
* fucked! by the linter
* move timelines to state like a boss
* add timeline start to tests using state
* invalidate lists
Diffstat (limited to 'internal/db/bundb/bundb.go')
| -rw-r--r-- | internal/db/bundb/bundb.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go index f095d1728..f0329e898 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -65,6 +65,7 @@ type DBService struct { db.Domain db.Emoji db.Instance + db.List db.Media db.Mention db.Notification @@ -179,6 +180,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) { Instance: &instanceDB{ conn: conn, }, + List: &listDB{ + conn: conn, + state: state, + }, Media: &mediaDB{ conn: conn, state: state, |
