mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
feat: images
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user