mirror of
https://github.com/fumiama/imago.git
synced 2026-06-05 08:20:27 +08:00
✨ add funcs in storage instance
This commit is contained in:
@@ -14,6 +14,9 @@ type StorageInstance interface {
|
||||
SaveImgBytes(b []byte, imgdir string, force bool, samediff int) (string, string)
|
||||
SaveImg(r io.Reader, imgdir string, samediff int) (string, string)
|
||||
ScanImgs(imgdir string)
|
||||
IsImgExsits(name string) bool
|
||||
AddImage(name string)
|
||||
Pick(exclude []string) string
|
||||
}
|
||||
|
||||
type storage struct {
|
||||
|
||||
Reference in New Issue
Block a user