From 148df80df52b8c29633fca27b22a67a7f90a68d4 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Tue, 14 Jan 2025 17:37:46 -0300 Subject: [PATCH] fix(blogo): update internal functions with the new filesystem API --- blogo/blogo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blogo/blogo.go b/blogo/blogo.go index d880931..1a7c7ee 100644 --- a/blogo/blogo.go +++ b/blogo/blogo.go @@ -184,7 +184,7 @@ func (b *blogo) Init() error { return nil } -func (b *blogo) source() (fs.FS, error) { +func (b *blogo) source() (FS, error) { log := b.log.With(slog.String("step", "SOURCING")) if len(b.sources) == 1 { @@ -220,7 +220,7 @@ func (b *blogo) source() (fs.FS, error) { return b.sources[0].Source() } -func (b *blogo) render(src fs.File, w io.Writer) error { +func (b *blogo) render(src File, w io.Writer) error { log := b.log.With(slog.String("step", "RENDERING")) if len(b.renderers) == 1 {