1
0
Fork 0
forgejo/vendor/github.com/Unknwon/cae
Mura Li d77176912b Use Go1.11 module (#5743)
* Migrate to go modules

* make vendor

* Update mvdan.cc/xurls

* make vendor

* Update code.gitea.io/git

* make fmt-check

* Update github.com/go-sql-driver/mysql

* make vendor
2019-03-27 19:15:23 +08:00
..
zip Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
.gitignore Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
cae.go Added all required dependencies 2016-11-04 08:43:11 +01:00
LICENSE Added all required dependencies 2016-11-04 08:43:11 +01:00
README.md Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00
README_ZH.md Use Go1.11 module (#5743) 2019-03-27 19:15:23 +08:00

Compression and Archive Extensions

Go Walker

中文文档

Package cae implements PHP-like Compression and Archive Extensions.

But this package has some modifications depends on Go-style.

Reference: PHP:Compression and Archive Extensions.

Code Convention: based on Go Code Convention.

Implementations

Package zip(Go Walker) and tz(Go Walker) both enable you to transparently read or write ZIP/TAR.GZ compressed archives and the files inside them.

  • Features:
    • Add file or directory from everywhere to archive, no one-to-one limitation.
    • Extract part of entries, not all at once.
    • Stream data directly into io.Writer without any file system storage.

Test cases and Coverage

All subpackages use GoConvey to write test cases, and coverage is more than 80 percent.

Use cases

  • Gogs: self hosted Git service in the Go Programming Language.
  • GoBlog: personal blogging application.
  • GoBuild: online Go cross-platform compilation and download service.

License

This project is under Apache v2 License. See the LICENSE file for the full license text.