🔨 refactor driver(123 and 189)

This commit is contained in:
微凉
2021-11-27 18:55:09 +08:00
parent 4fe6ed6c3e
commit 98691b2aa8
5 changed files with 162 additions and 125 deletions

8
drivers/error.go Normal file
View File

@ -0,0 +1,8 @@
package drivers
import "fmt"
var (
PathNotFound = fmt.Errorf("path not found")
NotFile = fmt.Errorf("not file")
)