1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-11 00:02:28 +08:00

feat: add IsZipFile

This commit is contained in:
dudaodong
2023-04-24 14:00:53 +08:00
parent 5e79eaa9dd
commit 62891f20f8
3 changed files with 2 additions and 2 deletions

View File

@@ -226,7 +226,7 @@ func ExampleUnZip() {
func ExampleIsZipFile() {
result1 := IsZipFile("./file.go")
result2 := IsZipFile("./test/file.go.zip")
result2 := IsZipFile("./testdata/file.go.zip")
fmt.Println(result1)
fmt.Println(result2)