move parts
This commit is contained in:
@@ -5,6 +5,16 @@ import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
var imageExts = map[string]bool{
|
||||
".jpeg": true,
|
||||
".jpg": true,
|
||||
".png": true,
|
||||
".gif": true,
|
||||
".bmp": true,
|
||||
".tiff": true,
|
||||
".tif": true,
|
||||
".webp": true,
|
||||
}
|
||||
func OptimizeImage(path string) {
|
||||
|
||||
fmt.Println("optiimg")
|
||||
|
||||
Reference in New Issue
Block a user