feat: images

This commit is contained in:
Florian Sylvain
2024-06-13 13:34:10 +02:00
parent eb98a1003e
commit c25fb1b0a3
19 changed files with 387 additions and 100 deletions
+11
View File
@@ -0,0 +1,11 @@
package gateways
import (
"GoCMS/domain/image"
"mime/multipart"
)
type IImageRepository interface {
Create(file multipart.File, fileHeader multipart.FileHeader) (image.Image, error)
Delete(id uint32) error
}