feat: images

This commit is contained in:
schreifuchs committed 2026-03-02 22:38:01 +01:00
1 parent e689ab08c9
commit 3cc632e358
19 files changed
+517 -28

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
package images
import "os"
type Service struct {
fs fileSystem
}
func New(fs fileSystem) *Service {
return &Service{
fs: fs,
}
}
type fileSystem interface {
Read(path string) ([]byte, error)
Stat(path string) (os.FileInfo, error)
}