mirror of
https://gitee.com/johng/gf
synced 2026-06-23 08:29:25 +08:00
17 lines
329 B
Go
17 lines
329 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/gogf/gf/encoding/gcompress"
|
|
"github.com/gogf/gf/os/gfile"
|
|
)
|
|
|
|
func main() {
|
|
err := gcompress.UnZipContent(
|
|
gfile.GetBytes(`D:\Workspace\Go\GOPATH\src\github.com\gogf\gf\geg\encoding\gcompress\data.zip`),
|
|
`D:\Workspace\Go\GOPATH\src\github.com\gogf\gf\geg`,
|
|
)
|
|
fmt.Println(err)
|
|
}
|