feat: cache revalidation
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package page
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
|
||||
"git.schreifuchs.ch/schreifuchs/schreifuchs.ch/internal/filesystem"
|
||||
)
|
||||
|
||||
@@ -11,12 +9,6 @@ type Service struct {
|
||||
}
|
||||
|
||||
func New(fs filesystem.FS) *Service {
|
||||
info, err := fs.ReadDir("/")
|
||||
if err != nil {
|
||||
slog.Error("could not read dir", "err", err)
|
||||
}
|
||||
|
||||
slog.Info("file info", "info", info)
|
||||
return &Service{
|
||||
fs: fs,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user