From 5559e0134382a141f5edabdacf1dc81f12b55c27 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 15 Apr 2023 21:35:06 +0200 Subject: Implement asset.Loader This moved a bunch of logic out of http and into the asset package, making it available for gmit too. --- src/http/http.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/http/http.go') diff --git a/src/http/http.go b/src/http/http.go index dc2569a..ba81577 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -36,9 +36,10 @@ type Params struct { PowManager pow.Manager Cache cache.Cache - PostStore post.Store - PostAssetStore asset.Store - PostDraftStore post.DraftStore + PostStore post.Store + PostAssetStore asset.Store + PostAssetLoader asset.Loader + PostDraftStore post.DraftStore MailingList mailinglist.MailingList -- cgit v1.2.3