mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 11:57:02 +00:00
Developers can ignore this update. Use of go-websocket and go-errors. Zero front-end changes. No real improvements.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"github.com/iris-contrib/errors"
|
||||
"github.com/kataras/go-errors"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -166,7 +166,7 @@ func Unzip(archive string, target string) (string, error) {
|
||||
|
||||
// RemoveFile removes a file or directory and returns an error, if any
|
||||
func RemoveFile(filePath string) error {
|
||||
return ErrFileRemove.With(os.RemoveAll(filePath))
|
||||
return ErrFileRemove.Format(os.RemoveAll(filePath))
|
||||
}
|
||||
|
||||
// Install is just the flow of: downloadZip -> unzip -> removeFile(zippedFile)
|
||||
|
||||
Reference in New Issue
Block a user