mirror of
https://github.com/duke-git/lancet.git
synced 2026-11-16 05:12:11 +08:00
feat: add IsZipFile
This commit is contained in:
1 parent
5e79eaa9dd
commit
62891f20f8
3 files changed
+2
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user